Is there any kind of Z-buffert in OpenGL and if so how do I turn it on?
glEnable(GL_DEPTH_TEST).Take a look at the red book for more info on the z-buffer.It’s available on-line.
Is there any kind of Z-buffert in OpenGL and if so how do I turn it on?
glEnable(GL_DEPTH_TEST).Take a look at the red book for more info on the z-buffer.It’s available on-line.