[pr-docs] README: DARNER_HDR_MAX_NITS and DARNER_HDR_PAPER_WHITE #118

Manually merged
TrustNo1 merged 1 commit from dutchmega/Darner:readme-hdr-switches into main 2026-12-04 02:13:24 +00:00
Contributor

What it changes

DARNER_HDR_MAX_NITS and DARNER_HDR_PAPER_WHITE are read in crates/darner-gpu/src/host/hdr.rs, but they were not documented. Two rows are added to the switch table, below DARNER_HDR_CLAMP:

  • DARNER_HDR_MAX_NITS (200 to 10000, default what Windows says of the display, 1000 if it says none): the peak brightness the game is given (display.rs), which it tunes its HDR picture to.
  • DARNER_HDR_PAPER_WHITE (80 to 500, default 150): how bright the SDR parts are on an HDR output.

Split off from #113.

How it was tested

  • Tested revision: e4749eb
  • Commands and results:
    • cargo xtask policy: ok.
    • Ranges and defaults checked against crates/darner-gpu/src/host/hdr.rs on main.
  • Coverage gaps: README only, so no clippy or test gates were run.

Checklist

  • This PR contains one change based on main.
  • The diff follows docs/asset-policy.md.
  • I recorded this PR's dependencies below.
    • Depends on: none

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches.
  • Related PRs: #113 (where this came from). Fifteen open PRs change README.md, but none of them change the HDR rows of the switch table.

Contributor role (optional)

  • Fluxer ID: 1575942915249680389
## What it changes `DARNER_HDR_MAX_NITS` and `DARNER_HDR_PAPER_WHITE` are read in `crates/darner-gpu/src/host/hdr.rs`, but they were not documented. Two rows are added to the switch table, below `DARNER_HDR_CLAMP`: - `DARNER_HDR_MAX_NITS` (200 to 10000, default what Windows says of the display, 1000 if it says none): the peak brightness the game is given (`display.rs`), which it tunes its HDR picture to. - `DARNER_HDR_PAPER_WHITE` (80 to 500, default 150): how bright the SDR parts are on an HDR output. Split off from #113. ## How it was tested - Tested revision: `e4749eb` - Commands and results: - `cargo xtask policy`: ok. - Ranges and defaults checked against `crates/darner-gpu/src/host/hdr.rs` on `main`. - Coverage gaps: README only, so no clippy or test gates were run. ## Checklist - [x] This PR contains one change based on `main`. - [x] The diff follows `docs/asset-policy.md`. - [x] I recorded this PR's dependencies below. - Depends on: none ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. - Related PRs: #113 (where this came from). Fifteen open PRs change `README.md`, but none of them change the HDR rows of the switch table. ## Contributor role (optional) - Fluxer ID: 1575942915249680389
Both are read in crates/darner-gpu/src/host/hdr.rs and were not documented.
The max nits is the peak the game is given (display.rs) and tunes its HDR
picture to; paper white is the brightness of the SDR parts on an HDR output.
First-time contributor

By the way you can get the paper white value from the sdr balance slider in windows as well. Will usually be in the range of 160 to 240. I think 150 is very low and only works in a pitch black room.

By the way you can get the paper white value from the sdr balance slider in windows as well. Will usually be in the range of 160 to 240. I think 150 is very low and only works in a pitch black room.
dutchmega force-pushed readme-hdr-switches from e4749ebc22 to 762011267a 2026-12-03 22:39:09 +00:00 Compare
TrustNo1 manually merged commit 2bec1bcc11 into main 2026-12-04 02:13:24 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
TrustNo1/Darner!118
No description provided.