fireball/lib/renderers/shaders/ShaderChunk/fog_pars_fragment.glsl

18 lines
187 B
Plaintext
Raw Normal View History

2018-12-25 13:59:22 +00:00
#ifdef USE_FOG
uniform vec3 fogColor;
varying float fogDepth;
#ifdef FOG_EXP2
uniform float fogDensity;
#else
uniform float fogNear;
uniform float fogFar;
#endif
#endif