feat: darker

This commit is contained in:
tresabhi committed 2025-04-16 23:22:12 -05:00
1 parent 8b726c12d9
commit e20d65d218
1 file changed
+1 -1
@@ -4,6 +4,6 @@
void main() {
float fogFactor = smoothstep(fogNear, fogFar, vFogDepth);
gl_FragColor = vec4(0.75, 0.75, 0.75, fogFactor);
gl_FragColor = vec4(0.5, 0.5, 0.5, fogFactor);
gl_FragColor.rgb = mix(gl_FragColor.rgb, fogColor, 1.0 - fogFactor);
}