Nexus: https://www.nexusmods.com/godofwarragnarok/mods/144
**Summary **
Fixes and improves the game's HDR rendering pipeline by correcting PQ encoding, replacing broken brightness slider logic, and enabling accurate brightness scaling. Preserves the original tonemapper with optional Vanilla+ enhancements, and adds configurable controls for exposure and bloom. Also bypasses the game’s flawed gamma correction logic for accurate contrast and black levels.
Key Changes
Tone Mapping Shader (0x4D780747)
- Preserves the game's vanilla tonemapper.
- Adds
Vanilla+mode:- Disables the game’s built-in exposure logic.
- Adds a new exposure slider (
ColorGradeExposure) for adjusting exposure cleanly whenVanilla+is enabled. - Applies brightness scaling after tonemapping using
ToneMapGameNitsto preserve hue, contrast, and saturation. - Dynamically recalculates
peak_nitsandmin_nitsbased on gamma correction and game brightness for accurate tonemapping.
Final Output Shader (0x903B49C1)
- Applies proper sRGB → 2.2 gamma correction at the end of the pipeline, just before BT.2020 → PQ encoding.
- This bypasses the game’s flawed gamma correction, which appears to be an incorrect curve fit attempting to correct sRGB to 2.2 gamma.
- The original logic likely stemmed from developing on 2.2 gamma displays while encoding in sRGB in SDR.
- Applies when
Vanilla+is enabled.
- Converts BT.709 → BT.2020 → PQ.
- Supports both the game's approximation curve and proper HDR10 (ST2084) encoding.
- Does not affect UI or the HDR calibration image.
HDR Calibration Menu Shader (0x4BB65477)
- Updated to reflect the same logic as the main scene:
- Includes brightness scaling and peak/min nits adjustments.
Bloom Shader (0xC66F9B98)
- Adds a bloom strength slider (
FxBloom) for controlling bloom intensity independently in HDR.


