Log inGet started
World

First Light: Lavic Odyssey

Branchmain
Branchesmain
Commit1698ee71e5

README.md

dawn

The hour the odyssey climbs through, written as a ramp.

M.at(t) reads the whole environment off one axis — t = L.dawn(), 0 on the caldera floor and 1 on the rim — and hands back the sky's time of day, its three gradient colours, its exposure, turbidity and stars, the sun's direction, colour and intensity, the ambient, the height fog, and the lava's own exposure. Three keys: deep night, first blush, first light. LavaDawn.component pushes what it returns at the scene every frame.

M.keys() hands back the keys themselves, for anything that wants to render the ramp rather than climb through it.

Where the keys sit was measured against this engine's ProceduralSky rather than assumed, and the file says so at the point the numbers appear: the sky's look is not monotonic in timeOfDay, and the directional light it can drive holds a flat night value for every hour the climb happens in.