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

Re: [Public WebGL] Minor update to default clear values



Adjacent discussion topic:

In renderbufferStorage() we currently initialize buffers by zero. Wouldn't it make sense to make a special case for depth buffers and say that they are initialized by 1.0 ?

Benoit

----- Original Message -----
> Per discussion on today's WebGL conference call (and because Zhenyao
> Mo is cleaning this up in WebKit right now) I've clarified the values
> used when clearing the drawing buffer after resize in Section 2.2. In
> particular, the clear depth is the default 1.0 rather than 0.0 as was
> implied. Please send any comments or concerns to the list.
> 
> -Ken
> -----------------------------------------------------------
> 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:
-----------------------------------------------------------
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: