Skycraft: no fog
This commit is contained in:
parent
ef88325fc8
commit
70f42391f1
@ -48,7 +48,7 @@ void main() {
|
|||||||
if (color.a < 0.1) {
|
if (color.a < 0.1) {
|
||||||
discard;
|
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);
|
gl_FragColor = mix(vec4(vLighting * color.rgb, color.a), vec4(uFogColor, 1.0), fogamount);
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
Loading…
Reference in New Issue
Block a user