fireball/lib/renderers/shaders/ShaderChunk/fog_vertex.glsl
2018-12-25 17:29:22 +03:30

6 lines
51 B
GLSL

#ifdef USE_FOG
fogDepth = -mvPosition.z;
#endif