[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] Horrible Z buffer precision with latest FireFox.

On Jul 27, 2010, at 12:58 PM, Benoit Jacob wrote:

> Could you file a bug report about this, under Core / Canvas:WebGL ?
> It's something we should fix (or work around) :-)
> If you want to try stuff (since you have access to the machine in question; I have no problem here on my linux/nvidia system) the relevant code is probably CreateOffscreenPixmapContext() in gfx/thebes/GLContextProviderGLX.cpp.
> You could try setting the requested z-buffer width to 24 bits to see if it makes a difference...
> It's worth pasting the output of glxinfo too. Here it gives only 24 bit depth buffers, perhaps on your system certain visuals have a 16 bit depth buffer.

But also realize that WebGL only mandates support for a 16 bit depth buffer, so you'll ultimately have to deal with these rendering issues.


You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email: