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

LookDaylightKeyframe

One hour of a look’s day: the sky, the key light, the fill, the fog, the exposure and the shadow at hour. A colour is a CSS colour or a number in sRGB, or a three Color, already linear; the engine blends them in linear light.

Property Type Description
cloudCoverage number How much of a pixel sky lies under cloud, 0 to 1, a threshold on its field as LookClouds.coverage is.
exposure number The renderer’s tone-mapping exposure, before the look’s exposure multiplies it; more than 0.
fillGroundColor ColorRepresentation The fill’s colour from below, three’s groundColor.
fillIntensity number The fill’s intensity.
fillSkyColor ColorRepresentation The hemisphere fill’s colour from above, three’s HemisphereLight.color.
fogDensity number The density of the look’s LookFogExp2, as three’s FogExp2 takes it.
hour number The hour, 0 to just under 24.
moonShare number Where the key light shines from, 0 to 1: 0 from the sun, 1 from the moon, blended between, so one light and one shadow map serve the day and the night.
nightShare number How far into the night the hour is, 0 to 1, which the night’s lamps and grade read.
shadowIntensity number How dark the key light’s shadow falls, 0 to 1: three’s LightShadow.intensity, Unity’s shadowStrength.
shadowRadius number Texels of filter spread at the shadow’s edge, three’s LightShadow.radius; 0 or more.
skyBottomColor ColorRepresentation The sky under the horizon, which a pixel sky’s haze sinks into, as HDRP’s Gradient Sky’s Bottom and Godot’s ground_bottom_color.
skyHorizonColor ColorRepresentation The sky at the horizon, which the fog takes too, so the far ground melts into the sky.
skyTopColor ColorRepresentation The sky straight up.
sunColor ColorRepresentation The key light’s colour and intensity, as three’s DirectionalLight takes them: the sun by day and the moon by night.
sunGlow number How strongly the sky glows round the sun, 0 or more, a share of its colour: the look’s sky reads it.
sunIntensity number The key light’s intensity, as three’s DirectionalLight takes it.