[game.f.glsl] Small fog improvement.
This commit is contained in:
parent
bcfc83f3f2
commit
50c0e7b841
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user