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

18 lines
187 B
GLSL

#ifdef USE_FOG
uniform vec3 fogColor;
varying float fogDepth;
#ifdef FOG_EXP2
uniform float fogDensity;
#else
uniform float fogNear;
uniform float fogFar;
#endif
#endif