Bring the tone mapped HDR picture's settings back to the menu, with defaults that give the look it had while it was fixed.

The sixteen settings the fixed look took away are settings again: the tone mapper choice, gamma correction, mid grey, match tone slope, tone slope, hue clip emulation, exposure, highlights, shadows, contrast, saturation, highlight saturation, blowout, flare, hue correction and colour grading. They have their rows in the settings table with the defaults and ranges they had, their rows in the Screen tab under HDR output's three brightness rows (none of them with the game's own HDR), their texts in the four languages, and their lines in the example ini. The tonemap library has the luminance mapper and the grading of the observer-response mapper again, and the support buffer carries five vec4 for it.

A player who changes nothing sees the picture as before. The observer-response mapper leaves each grading step out when its value is 1, and the slider values are divided, not multiplied by a rounded reciprocal, so 50 and 100 % arrive as exactly 1. Evaluated on the CPU in single precision, the shader with every default gave the same bits as the fixed one for 400,000 random scene colours, gains and whites, in HDR and for the SDR picture; the luminance mapper and the game's curve gave the same bits as before they were removed, and the observer-response mapper with its sliders moved stayed within 0.004 % of the pixel of its old result.

Gamma correction now counts with every tone mapper, 2.2 by default, which is what gave the fixed look its true blacks; before the fixed look it ran with the luminance mapper only and the other two showed the dark tones far above black. Its off value brings that lighter picture back for a player who asks for it. The game's own HDR does not take the setting and stays at 2.2.

Lines for these settings that an nx2navi.ini still holds from before the fixed look count again; the example ini and the release notes say so. Nothing of this was seen in the game.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
chrg6
2026-11-14 07:43:43 -05:00
parent 5eef43742d
commit 1e8045b36b
14 changed files with 582 additions and 75 deletions

View File

@@ -836,11 +836,10 @@
# low_latency = 0
# HDR output, two kinds (both need HDR on in Windows, "Use HDR", or a Wayland compositor with colour management;
# without it the picture stays SDR, the game's own): hdr = 1 sends the game's scene tone mapped to your display, one
# fixed look, and applies at once; hdr = native shows the game's own HDR mode, which the game takes up at the next
# start. hdr_peak_nits is your display's peak, hdr_game_nits the picture's white (paper white, 203 is the HDR
# reference) and hdr_ui_nits the HUD's and the menu's. The settings of the look of earlier versions
# (hdr_tonemap, hdr_exposure, hdr_gamma and the rest) are read by nothing now and do no harm.
# without it the picture stays SDR, the game's own): hdr = 1 sends the game's scene tone mapped to your display and
# applies at once; hdr = native shows the game's own HDR mode, which the game takes up at the next start.
# hdr_peak_nits is your display's peak, hdr_game_nits the picture's white (paper white, 203 is the HDR reference) and
# hdr_ui_nits the HUD's and the menu's.
# hdr = 0
# hdr_live = 0 leaves the HDR path out of a run that starts with hdr = 0, as before hdr followed the menu: switching
# HDR on then takes a restart. Only worth setting if the picture differs with it at 1.
@@ -848,6 +847,40 @@
# hdr_peak_nits = 1000
# hdr_game_nits = 203
# hdr_ui_nits = 203
# The settings from here to the end of this section shape the picture of hdr = 1 and apply at once; hdr = native does
# not take them. Left as they are, they give the one look hdr = 1 had from 0.9.0 to 0.10.1, which read none of them: a
# value your file still holds from an older version counts again.
# The tone mapper: vanilla is the game's own curve at SDR brightness; psychov35 sends the scene through a model of the
# eye's response, matched to the game's mid grey and tone, up to the peak; renodrt carries the game's SDR look up to
# the peak by brightness.
# hdr_tonemap = psychov35
# Gamma correction, with every tone mapper: 2.2 or 2.4 shows the picture as a display of that power would, as the game
# was made to be seen; off keeps the sRGB curve, which leaves the darkest tones well above black.
# hdr_gamma = 2.2
# With psychov35: where the scene's mid grey lands (vanilla: where the game's curve puts it; render: at the scene's
# value); whether the mid tones get the contrast of the game's curve; the tone curve's steepness through mid grey from
# 0 to 100 (50 unchanged); and in percent how much bright colours turn as where the game's SDR picture clips (fire
# towards yellow and white).
# hdr_midgray = vanilla
# hdr_match_slope = 1
# hdr_tone_slope = 50
# hdr_hue_clip = 50
# With psychov35 and renodrt: exposure in percent (100 unchanged); highlights, shadows, contrast and saturation from 0
# to 100 (50 unchanged).
# hdr_exposure = 100
# hdr_highlights = 50
# hdr_shadows = 50
# hdr_contrast = 50
# hdr_saturation = 50
# With renodrt: highlight saturation from 0 to 100 (50 unchanged); blowout (bright parts towards white) and flare
# (lifted blacks) from 0 to 100 (0 none); hue correction in percent (how much bright colours keep their hue); grade,
# the percentage of the game's own colour grading the picture keeps.
# hdr_highlight_sat = 50
# hdr_blowout = 0
# hdr_flare = 0
# hdr_hue = 100
# hdr_grade = 100
[language]
# Language: a Windows locale such as de-DE, or a Switch code (en-US, ja, zh-Hant, ...). Default: the Windows locale.
# locale = en-US