Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

LookDaylightColors

A look’s day as the engine’s arc under a few colours of the look’s own. Each colour left out keeps the engine’s.

Property Type Description
exposureAdaptation? number How much the exposure falls through the hours whose ground takes more light than at the look’s own hour, 0 to 1, as an eye adapts to a bright noon: 0, when left out, keeps the exposure the hour gives, and 1 fully offsets the estimated light the ground gains. The night’s exposure ramp still applies on top. Unreal, Unity and Godot meter the frame for their auto exposure; this reads the light the rig gives the ground, so a shot of an hour is the same every time. It never raises the exposure, so dusk and the night keep their own.
fillGroundColor? ColorRepresentation The colour of the fill’s light from below: the engine’s palette when left out. Unity’s ambientGroundColor, three’s HemisphereLight groundColor. A Landscape that draws its ground lights from below with the ground’s own colour under the live sun instead, while its bounceLight runs.
fillSkyColor? ColorRepresentation The colour of the fill’s light from above, the sky’s: the engine’s palette when left out. Unity’s ambientSkyColor in its Gradient ambient mode, three’s HemisphereLight color.
horizonSunColor? ColorRepresentation The sun’s colour as it reaches the horizon, at dawn and at dusk alike: the key blends from sunColor, the peak’s colour, as the sun’s light falls with its height. An artistic blend, not an atmosphere. Left out, the key keeps sunColor all day.
keyframes? undefined Keyframes take their own day in place of these colours.
moonColor? ColorRepresentation The key light’s colour while the moon is up; the engine’s pale blue when left out.
nightExposure? number The exposure once the sun is past twilight, as a linear multiple of the day’s: 0.25 when left out. A game whose players work at night raises it. 0 or more, and above 1 is allowed. Not EV. These colour the key and the fill alone: an image’s pixels, the sky’s bake at hour, the clouds, the fog and the character light keep their own.
nightFillColor? ColorRepresentation The hemisphere fill’s sky colour after twilight, blended in from the engine’s through it; its ground colour stays. Left out, the fill keeps the engine’s sky colour at every hour.
sunColor? ColorRepresentation The sun’s colour by day, the engine’s warm white when left out: the rig’s one key light is the sun by day and the moon by night, and the moon keeps its own. It colours direct sunlight only; the sky, the clouds and the environment keep theirs.
sunriseHour? undefined Set beside keyframes alone.
sunsetHour? undefined Set beside keyframes alone.