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

Re: [Public WebGL] WebGL support for high bit depth rendering & display



Ah, I was referring to a 16-bit per channel integer format, not floating point.

Regards, Matt

On Wed, Sep 19, 2012 at 8:41 AM, Jeff Russell <jeffdr@gmail.com> wrote:
Try thinking this way: if the browser created an A16R16G16B16 backbuffer (on gfx HW that supported this, of course), but all the rest of your WebGL code remained unchanged,  can you think of a scenario where the rendering did not come out correctly (as compared to A8R8G8B8 backbuffer)?

Negative values wouldn't be clamped to 0, which could interact later on with blending. Floating point buffers also do interesting things with NaN values.

--
Jeff Russell
Engineer, Marmoset
www.marmoset.co