18 lines
187 B
GLSL
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
|