OpenGLES iPhone Depth Blending problem
- by user359103
Hi,
I am trying to make an OpenGLES 2.0 cube application.
The idea was to have a texture (with an alpha 75%) applied to all 6 faces of the cube.
This would mean that even if I rotate the cube i would be able to see all 6 faces at any given frame. Now I have enabled depth test(my app needs this!!) and blending. The Depth func is LEQUAL and blend func is SRC_ALPHA, ONE_MINUS_SRC_ALPHA.
Now, the issue is that at some cube faces don't show the underlying faces. I am not able to understand this because the logic works fine with the other cube faces. Just for the record, I have disabled CULL_FACE.
Thanks in advance.
Regards,
Puzzler