PDA

View Full Version : Z-Buffer in OpenGL



Brorsson
05-14-2001, 02:26 AM
Is there any kind of Z-buffert in OpenGL and if so how do I turn it on?

zen
05-14-2001, 02:59 AM
glEnable(GL_DEPTH_TEST).Take a look at the red book for more info on the z-buffer.It's available on-line.