Skip to content

feat: HDR output, with highlights brighter than white on an HDR display - #1662

Merged
vdmkenny merged 2 commits into
mainfrom
feat/hdr-output
Dec 2, 2026
Merged

vdmkenny merged 2 commits into
mainfrom
feat/hdr-output

Conversation

@vdmkenny

@vdmkenny vdmkenny commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

On a display in HDR, the sun, explosions and glows go brighter than white. It is on by default. VIDEO's HDR, --no-hdr or Hdr=0 turns it off from the next start. The MODERN preset turns it on, and ORIGINAL and --original leave it off.

  • The window follows its display: extended linear sRGB (scRGB on Windows and Wayland, EDR on macOS), else HDR10, and SDR where there is no headroom.
  • Highlights are eased to what the display shows now, up to 1000 nits over a white of 203. The flight display keeps the display's normal white.
  • It needs linear light and 32-bit colour.

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

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
vdmkenny merged commit 8a910c8 into main Dec 2, 2026
5 checks passed
@vdmkenny
vdmkenny deleted the feat/hdr-output branch December 2, 2026 16:12
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HDR output: highlights brighter than white on an HDR display

1 participant