coderef

EXT_color_buffer_float WebGL extensionBaseline · Widely available

The EXT_color_buffer_float extension for WebGL 2.0 contexts adds color-renderable floating point formats to renderbufferStorage().

Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Sep 20, 2021. Widely available since Mar 20, 2024.

Browser support

DesktopChrome
1–55Not supported
56+Supportedsince Jan 25, 2017
Current: 155
Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154
Firefox
1–50Not supported
51+Supportedsince Jan 24, 2017
Current: 157
Safari
1–14.1Not supported
15+Supportedsince Sep 20, 2021
Current: 27
MobileChrome Android
18–55Not supported
56+Supportedsince Feb 1, 2017
Current: 155
Firefox Android
4–50Not supported
51+Supportedsince Jan 24, 2017
Current: 157
Safari iOS
1–14.5Not supported
15+Supportedsince Sep 20, 2021
Current: 27

How to use

This feature is Baseline widely available — use it freely, no fallback needed.

Example

Full syntax and examples are on MDN: EXT color buffer float.

Feature detection

JS · check before using
if ("EXT_color_buffer_float" in globalThis) {
  // EXT_color_buffer_float is available
} else {
  // load a polyfill or use a fallback
}