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

Re: [Public WebGL] Please review WebGL multiple render target extension proposal

I think that's fine. I've got one question though. I know that when I attach a floating point texture, that the output values are not clamped to 0-1. I also know that the OpenGL ES 2.0 specification states the clamping as behavior (which is also mentioned in this extension). I'm not sure, but I think the desktop versions of OpenGL don't specify the clamping at the shader output level (there's some function to control clamping).

I'm a bit worried that this might be a behavioral difference between Mobiles/Desktops that could shoot you in the foot if/when you find a mobile with floating point texture render target support. Anybody know if mobiles do the clamping regardless of target format?

On Wed, Oct 17, 2012 at 3:51 AM, Kenneth Russell <kbr@google.com> wrote:

Please review an extension proposal adding multiple render target
functionality to WebGL:


It mirrors a proposed extension for ANGLE which adds this
functionality to OpenGL ES 2.0:


Please provide your feedback on both.

Apologies for how long it took to produce these extensions. They
couldn't be drafted until OpenGL ES 3.0 was released, because in order
to avoid compatibility issues in the future, it was necessary to
derive their contents from the ES 3.0 specification. The draft ANGLE
extension modifies the same areas of the OpenGL ES 2.0 specification
modified by the GL_NV_fbo_color_attachments and GL_NV_draw_buffers
extensions, but draws the majority of its text and semantics from the
ES 3.0 spec.


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:
unsubscribe public_webgl