Color management for WebGL
Limited availability
The drawingBufferColorSpace
and unpackColorSpace
properties of WebGLRenderingContext
sets the color representation for the buffer and imported textures, such as "srgb"
or "display-p3"
.
Compatibility
- Chrome 104 Released on 2022-08-02
- Chrome Android 104 Released on 2022-08-02
- Edge 104 Released on 2022-08-05
- Firefox ❌ Search for bugs Search for standards position
- Firefox for Android ❌ Search for bugs Search for standards position
- Safari 16.4 Released on 2023-03-27
- Safari on iOS 16.4 Released on 2023-03-27
Specifications
- WebGL Specification, from WebGL Working Group (Khronos Group).
- WebGL Specification, from WebGL Working Group (Khronos Group).