Documentation / @ripl/3d / resolveFog
Function: resolveFog() ​
resolveFog(
fog):ResolvedFog|null
Defined in: 3d/src/core/fog.ts:40
Resolves fog into the numeric form the scene uniform and the CPU painter consume.
Parameters ​
| Parameter | Type | Description |
|---|---|---|
fog | Fog | null | undefined | The fog to resolve, or undefined/null for none. |
Returns ​
ResolvedFog | null
The resolved fog, or null when there is none.