Tweak base exposure

This commit is contained in:
luboslenco 2019-04-24 21:54:05 +02:00
parent faae72e5e4
commit 5f82c6674c

View file

@ -288,7 +288,7 @@ void main() {
#endif
#ifdef _AutoExposure
float expo = 1.3 - clamp(length(textureLod(histogram, vec2(0.5, 0.5), 0).rgb), 0.0, 1.0);
float expo = 2.0 - clamp(length(textureLod(histogram, vec2(0.5, 0.5), 0).rgb), 0.0, 1.0);
fragColor.rgb *= pow(expo, autoExposureStrength);
#endif