eulerjs API / @eulerjs/marine/webgpu / SeaFogOptions
SeaFogOptions
Defined in: packages/marine/src/webgpu/seaFog.ts:8
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
height? | number | How high the haze reaches, in metres: it thins from the sea up to here, and is gone above. Defaults to 500. | packages/marine/src/webgpu/seaFog.ts:12 |
sunDirection? | Vector3 | Toward the sun, for its glow through the haze. Defaults to straight up. | packages/marine/src/webgpu/seaFog.ts:14 |
sunGlow? | Color | The sun's glow through the haze. Defaults to a warm white, 1.5. | packages/marine/src/webgpu/seaFog.ts:16 |
visibility? | number | How thick the haze is: things this many metres off are a third hidden, twice as far all but gone. Defaults to 12 km. | packages/marine/src/webgpu/seaFog.ts:10 |
