Original Post
Hello,
I''m having trouble with depth testing in OpenGL. When I have the depth func set to GL_EQUAL (or GL_LEQUAL or GL_GEQUAL) everything is drawn, as if no testing is happening. If I use GL_GREATER or GL_LESS, nothing is drawn. This leads me to believe that all of the Z-buffer calculations are the same. That doesn''t make any sense to me, though, because everything is appearing correctly on the screen, except for the far objects drawing over the near ones.
Anybody ever seen this behaviour before?
Lemme know if you need more info.
Thanks for any help.
Jesse