Skip to content

API Interface SkyAtmosphere

github-actions[bot] edited this page Nov 29, 2026 · 4 revisions

Interface: SkyAtmosphere

Defined in: src/engine/sky/skyFormat.ts:40

Properties

groundColor

groundColor: string;

Defined in: src/engine/sky/skyFormat.ts:48

The ground below the horizon.


mie

mie: number;

Defined in: src/engine/sky/skyFormat.ts:44

Haze (Mie) scattering, relative to a clear day's (1): more is whiter and hazier around the sun.


mieAnisotropy

mieAnisotropy: number;

Defined in: src/engine/sky/skyFormat.ts:46

How forward the haze scatters, 0–0.99 (0.76 = typical).


rayleigh

rayleigh: number;

Defined in: src/engine/sky/skyFormat.ts:42

Air (Rayleigh) scattering, relative to Earth's (1): more is bluer by day and redder at sunset.

Clone this wiki locally