WebGL drawingBufferToneMapping
- Category
- Graphics
- Type
- New or changed feature
- Status
- Proposed (Chrome Proposed)
- Intent stage
- None
Summary
Adds the WebGL drawingBufferToneMapping API, which allows a WebGL rendering context to specify how to tone map content that is outside the standard dynamic range, using the CanvasToneMapping structure, which is shared with 2D canvas and WebGPU.
Motivation
Modern displays and operating systems support high dynamic range content (content that draws brighter than white). This capability is present in WebGPU and in 2D canvas.
Standards & signals
- Firefox: No signal
- Safari: No signal
- Web developers: No signals
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=webgl-drawingbuffertonemapping
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+WebGL%20drawingBufferToneMapping
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=WebGL%20drawingBufferToneMapping
- Baseline status: https://webstatus.dev/?q=WebGL%20drawingBufferToneMapping
Explainers: https://github.com/w3c-cg/ColorWeb-CG/blob/main/webgl-drawing-buffer-tone-map.md https://github.com/w3c-cg/ColorWeb-CG/blob/main/hdr-big-picture.md