[game.f.glsl] Small fog improvement.

This commit is contained in:
Quentin Bazin 2018-06-18 17:44:13 +02:00
parent bcfc83f3f2
commit 50c0e7b841

View File

@ -27,7 +27,7 @@ void main() {
color *= light(vec3(1.0, 1.0, 1.0), vec4(0.0, 48.0, 0.0, 1.0), 0.5, 0.5);
color = fog(color, v_dist, u_renderDistance - 8, u_renderDistance);
color = fog(color, v_dist, u_renderDistance - 32, u_renderDistance);
gl_FragColor = color;
}