From 084fc14ae2ab312d9bcb88d0bc4c1fe1ba6b6a41 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sun, 5 May 2019 22:16:00 -0700 Subject: Improved int vs uint handling in shaders --- Shaders/PostProcess/ToneMapping/public/ToneMappingStructures.fxh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Shaders/PostProcess/ToneMapping') diff --git a/Shaders/PostProcess/ToneMapping/public/ToneMappingStructures.fxh b/Shaders/PostProcess/ToneMapping/public/ToneMappingStructures.fxh index c71a6af..d946198 100644 --- a/Shaders/PostProcess/ToneMapping/public/ToneMappingStructures.fxh +++ b/Shaders/PostProcess/ToneMapping/public/ToneMappingStructures.fxh @@ -47,13 +47,13 @@ struct ToneMappingAttribs { // Tone mapping mode. - uint uiToneMappingMode DEFAULT_VALUE(TONE_MAPPING_MODE_UNCHARTED2); + int iToneMappingMode DEFAULT_VALUE(TONE_MAPPING_MODE_UNCHARTED2); // Automatically compute exposure to use in tone mapping. - BOOL bAutoExposure DEFAULT_VALUE(TRUE); + BOOL bAutoExposure DEFAULT_VALUE(TRUE); // Middle gray value used by tone mapping operators. float fMiddleGray DEFAULT_VALUE(0.18f); // Simulate eye adaptation to light changes. - BOOL bLightAdaptation DEFAULT_VALUE(TRUE); + BOOL bLightAdaptation DEFAULT_VALUE(TRUE); // White point to use in tone mapping. float fWhitePoint DEFAULT_VALUE(3.f); -- cgit v1.2.3