From 70f42391f14b5ad1230d8673e202ffc6084b7ecd Mon Sep 17 00:00:00 2001 From: Paul Mathieu Date: Tue, 18 Oct 2022 14:21:46 -0700 Subject: [PATCH] Skycraft: no fog --- skycraft/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skycraft/index.js b/skycraft/index.js index 2e83be0..e21d1e6 100644 --- a/skycraft/index.js +++ b/skycraft/index.js @@ -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); } `;