I was using some beta version when I had the Z fighting problem.
Now I downloaded a new version of jpct jar and the solution using the NVDepthConfigChooser works fine.
Thanks a lot!
Now I downloaded a new version of jpct jar and the solution using the NVDepthConfigChooser works fine.
Thanks a lot!
Quote from: EgonOlsen on January 06, 2014, 08:30:37 PM
Pretty ancient device... It uses an Adreno GPU, which means that it's default depth buffer accuracy sucks. You can improve this by switching to OpenGL ES 2.0 (in case you haven't already) and use another config provided by this ConfigChooser: http://www.jpct.net/jpct-ae/doc/com/threed/jpct/util/NVDepthConfigChooser.html
Like so...Code Select
mGLView = new GLSurfaceView(getApplication());
mGLView.setEGLContextClientVersion(2); // Do enable ES 2.0
mGLView.setEGLConfigChooser(new NVDepthConfigChooser(mGLView, false)); // To set the new chooser
Also make sure to use the other constructor for FrameBuffer when using ES 2.0 (the one without the gl context).