[PR #6532] [MERGED] HDR: plain numbers on its screen, black level on Auto, the shortcut only in a world #6939

Closed
opened 2026-11-03 06:29:42 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/6532
Author: @senjinthedragon
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: hdr-polish


📝 Commits (2)

  • 52219e4 HDR: plain numbers on its screen, black level on Auto, the shortcut only in a world
  • 0df0b4d Merge remote-tracking branch 'origin/main' into hdr-polish

📊 Changes

16 files changed (+72 additions, -69 deletions)

View changed files

📝 crates/horizon-client-render/src/gfx.rs (+25 -3)
📝 crates/horizon-client-render/src/graphics.rs (+23 -6)
📝 crates/horizon-client-render/src/graphics_ui.rs (+9 -12)
📝 crates/horizon-client-render/src/hdr_calibration.rs (+9 -11)
📝 crates/horizon-client/assets/horizon/lang/de_de.json (+0 -3)
📝 crates/horizon-client/assets/horizon/lang/en_us.json (+0 -3)
📝 crates/horizon-client/assets/horizon/lang/es_es.json (+0 -3)
📝 crates/horizon-client/assets/horizon/lang/fr_fr.json (+0 -3)
📝 crates/horizon-client/assets/horizon/lang/pl_pl.json (+0 -3)
📝 crates/horizon-client/assets/horizon/lang/ru_ru.json (+0 -3)
📝 crates/horizon-client/assets/horizon/lang/tr_tr.json (+0 -3)
📝 crates/horizon-client/assets/horizon/lang/uk_ua.json (+0 -3)
📝 crates/horizon-client/assets/horizon/lang/zh_cn.json (+0 -3)
📝 crates/horizon-client/src/game/options.rs (+1 -1)
📝 crates/horizon-client/src/game/tweaks.rs (+4 -8)
📝 docs/graphics.md (+1 -1)

📄 Description

🤖 Opened by senjinthedragon's AI agent (Claude Code, Claude Opus 5.5), not by senjinthedragon personally.

What and why

Three small things on the HDR screen, part of #3472.

  • Plain numbers instead of "nits": Paper White, Peak Brightness and Black Level, here and in calibration, were labelled in nits. That's only true where the compositor passes PQ through unchanged (Windows, Hyprland with tone mapping off). KWin scales by its own reference and tone-maps on top, and macOS EDR is a ratio, and the game can't tell which it's on. The values and the settings file stay the same, so they still match what Windows' own calibration shows. The three unused strings are gone from all nine languages. The docs and logs keep nits as the technical description.
  • Black Level on Auto: 0 now means what the system reports (the compositor's target_min, DXGI's minimum), else true black, as Paper White and Peak Brightness already work. It's rounded down to hundredths of a nit, so an OLED reporting KWin's 0.005 stays at true black and its shadows aren't lifted. Calibration keeps Auto when the slider isn't moved. A saved 0 becomes Auto: that only changes anything on a display that reports a real black level.
  • The HDR shortcut only works in a world: a key bound to a mouse button, or the control socket, could open the screen from the title screen. Reported by DUzzL on #3987.

Tested

In game on an AW3423DW, on Linux: the labels on the HDR screen and in calibration, Black Level showing Auto at 0 and moving back to it, and the shortcut in a world and on the title screen. pr_ready --quick passes.

Not tested: a display that reports a real black level. Windows, macOS and LCD testers welcome: does Auto's Black Level look right, or lift the shadows too far?

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/6532 **Author:** [@senjinthedragon](https://github.com/senjinthedragon) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `hdr-polish` --- ### 📝 Commits (2) - [`52219e4`](https://github.com/horizon-rust/horizon/commit/52219e47718f49a5c26ba76bf59aa5ef5d8bb045) HDR: plain numbers on its screen, black level on Auto, the shortcut only in a world - [`0df0b4d`](https://github.com/horizon-rust/horizon/commit/0df0b4d191432e2f05fb457b1036451abdef8a85) Merge remote-tracking branch 'origin/main' into hdr-polish ### 📊 Changes **16 files changed** (+72 additions, -69 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client-render/src/gfx.rs` (+25 -3) 📝 `crates/horizon-client-render/src/graphics.rs` (+23 -6) 📝 `crates/horizon-client-render/src/graphics_ui.rs` (+9 -12) 📝 `crates/horizon-client-render/src/hdr_calibration.rs` (+9 -11) 📝 `crates/horizon-client/assets/horizon/lang/de_de.json` (+0 -3) 📝 `crates/horizon-client/assets/horizon/lang/en_us.json` (+0 -3) 📝 `crates/horizon-client/assets/horizon/lang/es_es.json` (+0 -3) 📝 `crates/horizon-client/assets/horizon/lang/fr_fr.json` (+0 -3) 📝 `crates/horizon-client/assets/horizon/lang/pl_pl.json` (+0 -3) 📝 `crates/horizon-client/assets/horizon/lang/ru_ru.json` (+0 -3) 📝 `crates/horizon-client/assets/horizon/lang/tr_tr.json` (+0 -3) 📝 `crates/horizon-client/assets/horizon/lang/uk_ua.json` (+0 -3) 📝 `crates/horizon-client/assets/horizon/lang/zh_cn.json` (+0 -3) 📝 `crates/horizon-client/src/game/options.rs` (+1 -1) 📝 `crates/horizon-client/src/game/tweaks.rs` (+4 -8) 📝 `docs/graphics.md` (+1 -1) </details> ### 📄 Description > 🤖 Opened by senjinthedragon's AI agent (Claude Code, Claude Opus 5.5), not by senjinthedragon personally. ## What and why Three small things on the HDR screen, part of #3472. - **Plain numbers instead of "nits":** Paper White, Peak Brightness and Black Level, here and in calibration, were labelled in nits. That's only true where the compositor passes PQ through unchanged (Windows, Hyprland with tone mapping off). KWin scales by its own reference and tone-maps on top, and macOS EDR is a ratio, and the game can't tell which it's on. The values and the settings file stay the same, so they still match what Windows' own calibration shows. The three unused strings are gone from all nine languages. The docs and logs keep nits as the technical description. - **Black Level on Auto:** 0 now means what the system reports (the compositor's `target_min`, DXGI's minimum), else true black, as Paper White and Peak Brightness already work. It's rounded down to hundredths of a nit, so an OLED reporting KWin's 0.005 stays at true black and its shadows aren't lifted. Calibration keeps Auto when the slider isn't moved. **A saved 0 becomes Auto:** that only changes anything on a display that reports a real black level. - **The HDR shortcut only works in a world:** a key bound to a mouse button, or the control socket, could open the screen from the title screen. Reported by DUzzL on #3987. ## Tested In game on an AW3423DW, on Linux: the labels on the HDR screen and in calibration, Black Level showing Auto at 0 and moving back to it, and the shortcut in a world and on the title screen. `pr_ready --quick` passes. Not tested: a display that reports a real black level. Windows, macOS and LCD testers welcome: does Auto's Black Level look right, or lift the shadows too far? 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:29:42 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
horizon-rust/horizon#6939
No description provided.