Skip to content

Commit f588a81

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 af74c1c commit f588a81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/engine/renderer/tr_init.cpp

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

0 commit comments

Comments
 (0)