Yes, I was getting a 16bit z-buffer, but discovered that OpenGLES
needs ClearDepth to also be called from onDrawFrame!

In the process of checking all my devices for 16bit buffers I noticed
that most of them do not even support 24bit buffers, and those that do
default to 16bits anyway. Now that really makes me wonder what
percentage of Android devices out there even support 24bits?

On May 29, 9:18 am, RichardC <[email protected]> wrote:
> Are you sure you are getting a 16bit z-buffer?
> What values of near and far are you using?
> >
> On Tuesday, May 29, 2012 3:51:18 PM UTC+1, Yan wrote:
>
> > I'm getting z-fighting polys on every Android device I test, but the
> > same code has been working on ancient OpenGl platforms. The depth
> > seems to behave as if it even less than 16, even with polys a
> > magnitude apart than ususal. Is this another something specific to
> > OpenGLES implementations?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to