Color management for WebGL2
The drawingBufferColorSpace
and unpackColorSpace
properties of WebGL2RenderingContext
sets the color representation for the buffer and imported textures, such as "srgb"
or "display-p3"
.
Status
Baseline Newly Available (since 2024-10-29)
This feature is expected to reach Baseline Widely Available status on: 2027-04-29
MDN documentation
Specifications
- WebGL 2.0 Specification, from WebGL Working Group (Khronos Group).
Browser support
- Chrome 104 Released on 2022-08-02
- Chrome Android 104 Released on 2022-08-02
- Edge 104 Released on 2022-08-05
- Firefox 132 Released on 2024-10-29
- Firefox for Android 132 Released on 2024-10-29
- Safari 16.4 Released on 2023-03-27
- Safari on iOS 16.4 Released on 2023-03-27
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist