when I enable the lighting in the opengl es, I suddenly found the depth test fails to work. It looks some object is transparent after some rotation. Handle should be invisible from this angle.
I am using glEnable(GL_DEPTH_TEST) in the beginning.
I am using OpenGL ES 2.0
Anything can be wrong?
When I don't use light, everything looks fine.