11-13-2012 06:53 PM
Hi, am really stuggling to get OpenGLES 1.1 depth buffer working.
Depthtest IS enabled and depthfunc is GL_LESS.
The model is just a simple test 'gun' exported from Blender to OBJ wavefront, I then import it using a custom wavefront parse i wrote a few weeks back, (which DOES work fine).
Example images:
http://postimage.org/image/uhfb35929/
http://postimage.org/image/j57rih6ox/
http://postimage.org/image/8wfacnin5/
http://postimage.org/image/6gdgyt0kh/
http://postimage.org/image/ezwuwk8wx/
The last image shows the depth problem the clearest
It seems to work for faces that are completely covered but not those that are partially covered.
Any help would be greatly appriciated,
thanks,
Owen Michael Pemberton