[fog.f.glsl] Small fix. Now using sky color instead of a transparent color.

This commit is contained in:
Quentin Bazin 2018-07-06 17:47:31 +02:00
parent 41ec518721
commit 23cc904cf3

View File

@ -3,6 +3,6 @@
vec4 fog(vec4 color, float fogCoord, float fogStart, float fogEnd) {
float fog = clamp((fogEnd - fogCoord) / (fogEnd - fogStart), 0.0, 1.0);
return mix(vec4(color.xyz, 0.0), color, fog);
return mix(vec4(0.196078, 0.6, 0.8, 1.0), color, fog);
}