← Back to release summary

WebGPU extended range (HDR) support

Category
Graphics
Type
Chromium catches up
Status
Enabled by default (Chrome 129)
Intent stage
None

Summary

Adds tone mapping parameters to the WebGPU canvas configuration, and adds options of "standard" (the current behavior of restricting content to the SDR range of the display) as the default, and "extended" (not imposing this restriction) as a new behavior. This allows WebGPU content to use the full range of a display.

Motivation

Web developers can only provide HDR content via images and video, but not canvas. If one wants to produce dynamic HDR content in a canvas, one must encode the contents of the canvas as an HDR image and display that (e.g, as is done by this demo: https://gkjohnson.github.io/three-gpu-pathtracer/example/bundle/hdr.html).

Standards & signals

Docs: https://github.com/ccameron-chromium/webgpu-hdr/blob/main/EXPLAINER.md

Samples: https://ccameron-chromium.github.io/webgpu-hdr/example.html

View on chromestatus.com