Skycraft: no fog

This commit is contained in:
Paul Mathieu 2022-10-18 14:21:46 -07:00
parent ef88325fc8
commit 70f42391f1

View File

@ -48,7 +48,7 @@ void main() {
if (color.a < 0.1) {
discard;
}
lowp float fogamount = smoothstep(80.0, 100.0, vDistance);
lowp float fogamount = 0.0; //smoothstep(80.0, 100.0, vDistance);
gl_FragColor = mix(vec4(vLighting * color.rgb, color.a), vec4(uFogColor, 1.0), fogamount);
}
`;