coderef

EXT_float_blend WebGL extensionLimited availability

The EXT_float_blend extension for WebGL 1.0 and 2.0 contexts adds 32-bit floating-point components to blending and draw buffers.

Not yet supported in all major browsers — check the table and provide a fallback.

Browser support

DesktopChrome
1–74Not supported
75+Supportedsince Jun 4, 2019
Current: 155
Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154
Firefox
1–66Not supported
67+Supportedsince May 21, 2019
Current: 157
Safari
1–14Not supported
14.1+Supportedsince Apr 26, 2021
Current: 27
MobileChrome Android
18–74Not supported
75+Supportedsince Jun 4, 2019
Current: 155
Firefox Android
4–66Not supported
67+Supportedsince May 21, 2019
Current: 157
Safari iOS
✕Not supportedup to 27
Current: 27

How to use

Not supported in Safari iOS. Use feature detection below and provide a fallback (or a polyfill) for those browsers.

Example

Full syntax and examples are on MDN: EXT float blend.

Feature detection

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