Fix fog weirdness (#5146)

master
numberZero 2017-01-31 11:42:39 +04:00 committed by Loïc Blot
parent cdc538e0a2
commit 74afe6fe6b
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ const float fogShadingParameter = 1 / ( 1 - fogStart);
vec3 uncharted2Tonemap(vec3 x) vec3 uncharted2Tonemap(vec3 x)
{ {
return ((x * (0.22 * x + 0.03) + 0.002) / (x * (0.22 * x + 0.3) + 0.06)) - 0.03334; return ((x * (0.22 * x + 0.03) + 0.002) / (x * (0.22 * x + 0.3) + 0.06)) - 0.03333;
} }
vec4 applyToneMapping(vec4 color) vec4 applyToneMapping(vec4 color)