Documentation / @ripl/3d / FOG_MODE_CODE
Variable: FOG_MODE_CODE ​
constFOG_MODE_CODE:object
Defined in: 3d/src/core/uniforms.ts:42
Numeric discriminators for each fog mode, shared by the packer and the shader.
Type Declaration ​
exponential ​
readonlyexponential:2=2
Fog ramping exponentially with the square of distance.
linear ​
readonlylinear:1=1
Fog ramping linearly between a near and a far distance.
none ​
readonlynone:0=0
No fog.