Skip to content

Commit

Permalink
Fix fog weirdness (#5146)
Browse files Browse the repository at this point in the history
  • Loading branch information
numberZero authored and nerzhul committed Jan 31, 2017
1 parent cdc538e commit 74afe6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/shaders/nodes_shader/opengl_fragment.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const float fogShadingParameter = 1 / ( 1 - fogStart);

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)
Expand Down

0 comments on commit 74afe6f

Please sign in to comment.