diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-05-06 05:16:00 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-05-06 05:16:00 +0000 |
| commit | 084fc14ae2ab312d9bcb88d0bc4c1fe1ba6b6a41 (patch) | |
| tree | ce186defbfe04856a97f5e240a6aef216cabe6a3 /Shaders/PostProcess/ToneMapping | |
| parent | GLTF renderer: fixed few GLES3.0 shader issues (diff) | |
| download | DiligentFX-084fc14ae2ab312d9bcb88d0bc4c1fe1ba6b6a41.tar.gz DiligentFX-084fc14ae2ab312d9bcb88d0bc4c1fe1ba6b6a41.zip | |
Improved int vs uint handling in shaders
Diffstat (limited to 'Shaders/PostProcess/ToneMapping')
| -rw-r--r-- | Shaders/PostProcess/ToneMapping/public/ToneMappingStructures.fxh | 6 |
1 files changed, 3 insertions, 3 deletions
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); |
