Skip to content
Docs
Open Promoeyes

sky

set 0× in templates and rigs

A physically based atmosphere (Hillaire 2020) drawn as the scene's background: noon, dusk, twilight, night with a moon, stars and the Milky Way, optional clouds. It also feeds `scene.environment`, overriding a declared environment(hdr=...), so the scene is lit by it. Drawn at infinity: the host's transform does nothing. Key `sun-elevation`, `sun-azimuth`, `clouds`, `exposure`, `env-intensity` with channel rows.

sky(cloud-speed=1 clouds=1 env=true)

Attributes

cloud-speednumberHow fast they drift (default 0.01).0×
cloudsnumberCoverage, 0..1; 0 draws none (default 0). Keyable.0×
envtrue / false`false` leaves the scene's environment alone: background only.0×
env-intensitynumber× the environment light, on top of exposure (default 1). Keyable.0×
env-stepnumberDegrees of elevation between rebuilds of the environment map (default 1).0×
exposurenumber× what is drawn and the environment light (default 0.5). Keyable.0×
groundcolour #rrggbb0×
lighttrue / false`true` adds a DirectionalLight for the sun, or the moon at night; `light-intensity` scales it (default 0.5).0×
light-intensitynumber0×
moon-azimuthnumberWhere the moon stands, degrees (default 150).0×
moon-elevationnumberWhere the moon stands, degrees (default 34).0×
moon-intensitynumber0×
night-exposurenumber× that again as night falls, so a night can be seen (default 8).0×
opacitynumber0×
rayleighnumber× the molecular density: lower is paler, higher deeper blue (default 1).0×
starsnumberBrightness of the stars and the Milky Way at night; 0 draws none (default 1).0×
sun-azimuthnumberDegrees round y from +z; 180 is straight ahead of a camera looking down -z (default 180). Keyable.0×
sun-elevationnumberDegrees above the horizon; below about -6 it is night (default 25). Keyable.0×
sun-intensitynumber0×
sun-sizenumber0×
turbiditynumberHaze: 1 very clean, 2 clear, 5 hazy, 10 heavy (default 2).0×