Skip to content

Commit ddd0cf8

Browse files
committed
tr_init: recalibrate the default tone mapper preset
- Restore most of the range of the high lights. When the previous preset was calibrated, the engine was missing the single-bit clamping (it was a bug). Now that the single-bit clamping is restored in lightmap input, the high light range is caped twice. This restores most of of the range of high lights on the tone mapper side.
1 parent 17e9107 commit ddd0cf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engine/renderer/tr_init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Cvar::Cvar<int> r_rendererAPI( "r_rendererAPI", "Renderer API: 0: OpenGL, 1: Vul
196196
Cvar::NONE, 0.977f, 0.0f, 10.0f );
197197
Cvar::Range<Cvar::Cvar<float>> r_toneMappingHDRMax(
198198
"r_toneMappingHDRMax", "HDR white point",
199-
Cvar::NONE, 8.0f, 1.0f, 128.0f );
199+
Cvar::NONE, 1.2f, 1.0f, 128.0f );
200200
Cvar::Range<Cvar::Cvar<float>> r_toneMappingDarkAreaPointHDR(
201201
"r_toneMappingDarkAreaPointHDR", "Cut-off for dark area light-up",
202202
Cvar::NONE, 0.18f, 0.0f, 1.0f );

0 commit comments

Comments
 (0)