Documentation / @ripl/3d / ResolvedFog
Interface: ResolvedFog ​
Defined in: 3d/src/core/uniforms.ts:161
Fog reduced to the numeric form the scene uniform carries.
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
color | ColorUnitRGB | The fog colour, in unit RGB. | 3d/src/core/uniforms.ts:165 |
density | number | Density of exponential fog. | 3d/src/core/uniforms.ts:171 |
far | number | Distance at which linear fog fully obscures. | 3d/src/core/uniforms.ts:169 |
mode | number | The fog mode, one of FOG_MODE_CODE. | 3d/src/core/uniforms.ts:163 |
near | number | Distance at which linear fog begins. | 3d/src/core/uniforms.ts:167 |