EXT_color_buffer_float
WebGL working group (public_webgl 'at' khronos.org)
Mark Callow, HI Corporation
Members of the WebGL working group
Last modified date: April 19, 2017
Revision: 8
WebGL extension #31
Written against the WebGL API 2.0 specification.
This extension exposes the EXT_color_buffer_float functionality to WebGL.
The following WebGL-specific behavioral changes apply:
RGB16F
is not color-renderable in this
extension. This is a difference in functionality compared to the EXT_color_buffer_half_float extension.
Consult the above extension for documentation, issues and new functions and enumerants.
When this extension is enabled:
The following floating-point internal formats become color-renderable: R16F
,
RG16F
, RGBA16F
, R32F
,
RG32F
, RGBA32F
and
R11F_G11F_B10F
. A renderbuffer or a texture with a
color-renderable internal format can be used as a rendering target by
attaching it to a framebuffer object as a color attachment.
Renderbuffers with these internal formats can be created.
The format and type combination RGBA
and
FLOAT
becomes valid for reading from a floating-point
color buffer.
Notes:
RGBA
and
UNSIGNED_BYTE
cannot be used for reading from a
floating-point color buffer.RGB16F
is not color-renderable in this
extension.[Exposed=(Window,Worker), LegacyNoInterfaceObject] interface EXT_color_buffer_float { }; // interface EXT_color_buffer_float
Revision 1, 2012/11/08
Revision 2, 2014/07/15
Revision 3, 2014/10/29
Revision 4, 2016/04/14
Revision 5, 2016/06/16
Revision 6, 2016/07/21
Revision 7, 2016/08/03
Revision 8, 2017/04/19