Skycraft: no fog
This commit is contained in:
parent
ef88325fc8
commit
70f42391f1
@ -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);
|
||||
}
|
||||
`;
|
||||
|
Loading…
Reference in New Issue
Block a user