KhronosGroup / WebGL

The Official Khronos WebGL Repository
Other
2.63k stars 668 forks source link

Extended brightness range rendering #3666

Open ccameron-chromium opened 1 month ago

ccameron-chromium commented 1 month ago

The current spec does not clearly indicate what should be done with color values that land outside of the standard dynamic range gamut of the screen (colors that, when converted to the color space of the screen, land outside of the [0, 1] interval).

The following proposal indicates a default behavior (that matches existing implementations and WebGPU's default behavior), and provides a mechanism for opting in to extended-range brightness. https://github.com/ccameron-chromium/webgl-hdr/blob/master/EXPLAINER.md

ccameron-chromium commented 1 month ago

Related PR: https://github.com/KhronosGroup/WebGL/pull/3668