Repository navigation
feat: HDR output, with highlights brighter than white on an HDR display - #1662
Merged
Merged
Conversation
The scene was already kept past white, but the window showed SDR only. It now follows its display: extended linear sRGB or HDR10 where there is headroom, SDR elsewhere. Off by default, as it is tested on a MacBook Pro's display only.
It goes out in a release candidate first, where players with HDR displays on every platform can try it.
vdmkenny
pushed a commit
that referenced
this pull request
Dec 2, 2026
🤖 I have created a release *beep* *boop* --- ## [1.1.0-rc.7](v1.1.0-rc.6...v1.1.0-rc.7) (2026-12-02) ### Features * HDR output, with highlights brighter than white on an HDR display ([#1662](#1662)) ([8a910c8](8a910c8)), closes [#1659](#1659) * light shafts and the sun's glare, from a depth that post effects can read ([#1656](#1656)) ([1d1a7a4](1d1a7a4)), closes [#1650](#1650) [#633](#633) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On a display in HDR, the sun, explosions and glows go brighter than white. It is on by default. VIDEO's HDR,
--no-hdrorHdr=0turns it off from the next start. The MODERN preset turns it on, and ORIGINAL and--originalleave it off.Tested on a MacBook Pro's built-in display, and on an SDR monitor, where it stays SDR. It compiles for Windows and Linux but isn't tested there (#1660). Windows shows SDR on any display but the one the window opened on (#1660). Screenshots hold SDR (#1661). Device.frag.msl changes only because it includes color.glsl, which gained an overload.
Before-and-after screenshots can't show the difference, as they are SDR.
The first commit's message says it is off by default, which the second changes.
Closes #1659