Hi, I've been reading in the 'Red Book' of OpenGL, about how to use the Accumulation Buffer <page 303, Chapter 10> But I noticed that it should have some sort of setup:
/*Be certain you request an accumulation buffer.*/
glutInitDisplayMode (GLUT_SINGLE | GLUT_RGB | GLUT_ACCUM | GLUT_DEPTH);
But I didn't find this command in LWJGL, nor GLUT, is there a way to request an accumulation buffer in lwjgl?
Thanx.
When calling Display.create(PixelFormat) you can specify the accumulation buffer properties in the PixelFormat.
Thanx, I was afraid that it was impossible to access the Accumilation Buffer, But what are the parameters (By name) suitable for <pixel-format> ? Thanx alot.
PixelFormat(int bpp, int alpha, int depth, int stencil, int samples, int num_aux_buffers, int accum_bpp, int accum_alpha, boolean stereo)
... for future reference: http://www.lwjgl.org/javadoc/