mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-17 11:29:58 -04:00
Make HDR one fixed look with true blacks, and keep only its on switch and the three whites as settings.
HDR on is the game's scene through the observer-response mapper, anchored to the game's own mid grey and tone slope, with half of the hue bend of the game's clamp: the defaults the menu had. The tone mapper choice, the mid grey, the tone slope and its match, the hue clip, exposure, highlights, shadows, contrast, saturation, highlight saturation, blowout, flare, hue, grade and gamma are gone from the menu, the settings table and the example ini; a file that still sets them works as before, the keys read by nothing and logging nothing. The menu's HDR row is Off and On, with the peak, game and HUD whites under it. The game's own HDR is still there for a file that sets hdr = native, and the row lists it only then. The luminance mapper and its grading code, which no setting reaches any more, are removed from the tonemap library, and the support buffer carries one vec4 for it. The dark tones of a dark scene sat far above black: the present showed the game's sRGB-encoded picture as that encode decodes, linear near black, while the game is graded for a display of gamma about 2.2, and since the observer-response mapper became the default the 2.2 correction ran with the luminance mapper only. A scene value of 0.003 came out at 0.29 nits at a white of 350 nits, where a 2.2 display shows the game at 0.015. The present now always shows the picture as a 2.2 display would, and the tonemap aims its peak lower by that correction's inverse, so the brightest light still reaches the display's peak; the same value comes out at 0.017 nits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -513,11 +513,12 @@
|
||||
# take effect at once.
|
||||
# framegen_multiplier = 2
|
||||
|
||||
# HDR output: hdr = 1 sends the picture as HDR10 through the HDR tone mapper, hdr = native as the game renders it in
|
||||
# its own HDR mode (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_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. Everything applies at once, also
|
||||
# hdr between 0 and 1; only hdr = native, which the game itself takes up, waits for the next start.
|
||||
# HDR output: hdr = 1 sends the picture as HDR10, the game's scene tone mapped to your display (needs HDR on in
|
||||
# Windows, "Use HDR", or a Wayland compositor with colour management; without it the picture stays SDR, the game's own).
|
||||
# The look is fixed; 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. Everything applies at once. hdr = native shows the game's
|
||||
# own HDR mode instead, which the game takes up at the next start. 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.
|
||||
# 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.
|
||||
@@ -525,36 +526,6 @@
|
||||
# hdr_peak_nits = 1000
|
||||
# hdr_game_nits = 203
|
||||
# hdr_ui_nits = 203
|
||||
# With hdr = 1, 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
|
||||
# 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: gamma correction (off, 2.2 or 2.4) shows the picture as a display of that power would, off keeps the
|
||||
# sRGB curve; 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_gamma = 2.2
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user