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

Look

Everything a look sets.

Property Type Description
ambientOcclusion false | AmbientOcclusionProps -
bloom false | BloomProps -
characterBlobShadow? false | LookCharacterBlobShadow A soft dark disc under every character at every quality level. Left out or false, none: every built-in look’s.
characterLight false | LookCharacterLight A soft light only characters receive, or none for false.
characterSilhouette? false | LookCharacterSilhouette A character a wall, a roof or any opaque object hides draws as a flat silhouette where it is hidden, and the occluder draws as it is. Left out or false, none: every built-in look but diorama’s.
cloudShadows? false | LookCloudShadows Soft shadows of clouds drifting over the ground, laid on it from straight above. Left out or false, none, in every built-in look.
daylight? LookDaylightColors | LookDaylightKeyframes How the day colours the key light, the fill and the exposure: the engine’s arc under a few colours, or keyframes over the whole day. An override replaces it whole. Left out, the engine’s colours.
depthOfField? false | LookDepthOfField A depth of field focused on the camera’s focus with a band across the screen; none when left out or false. Its layers draw by the quality level’s depthOfField and the player’s Depth of field setting. Over a base with none, part of one starts from defaultDepthOfField; its tiltShift and bokeh replace whole.
environment LookEnvironment -
exposure number Multiplies the rig’s exposure for the hour, the keyframes’ too.
fill number The share of the rig’s hemisphere fill kept beside the image’s light.
fog false | LookFog | LookFogExp2 three’s linear fog, its exponential one, or none. An override replaces it whole.
godRays? false | LookGodRays How the scene’s GodRays areas draw their shafts: the engine’s settings when left out, and none anywhere for false.
grading LookGrading -
heightFog? false | LookHeightFog Haze that lies low; none when left out or false.
hour number The hour the Landscape opens on, so its sun stands where the image’s does.
kuwahara? false | LookKuwahara A painted finish; none when left out or false. It draws first, before the haze and the depth of field, with the look’s grade, at Medium and High.
maxSunElevationRadians? number The most radians the key light stands over the horizon, a soft clamp as minSunElevationRadians is. Left out, no clamp.
minSunElevationRadians? number The least and the most radians the key light stands over the horizon, by day and by night, so a shadow never goes flat or falls straight down: a soft clamp, blended over 0.12 rad, as Luminati’s. It moves the light alone, after the moon’s blend; the sky’s sun stays where the arc puts it. 0 to Math.PI / 2, the most at least 0.24 over the least. Left out, no clamp on that side.
northOffsetRadians? number Radians to turn the sun’s whole path about up, as Unreal’s Sun Position north offset, so a scene aims its light at an hour without turning its map. Positive turns the sun from +z toward +x, so Math.PI / 2 is a quarter turn; the moon turns with it. 0 when left out keeps the engine’s path.
postProcessing boolean Whether the look mounts its own post-processing stack. false keeps its light and fog, and leaves the stack to the game.
rain? false | LookRain How the rain draws while the weather rains: Luminati’s when left out, and none for false, for a game that draws its own from useLookWeather().rainShare.
sky? false | LookSky | LookPixelSky The engine’s sky painted, or the scattering sky when left out or false. Landscape’s own sky replaces it, as its fog replaces the look’s: under sky={false} the environment still lights from it, and an image as the sky lights the scene in its place. An override gives it whole.
snow? false | LookSnow How the snow’s flakes draw while the weather snows: Luminati’s when left out, and none for false, for a game that draws its own from useLookWeather().snowShare.
snowCover? false | LookSnowCover How the lying snow draws: Luminati’s when left out, and none for false, for a game that draws its own from useLookWeather().snowCover.
sun number The share of the rig’s sun kept: less under cloud.
sunElevationRadians? number | false Radians the sun stands over the horizon at the look’s hour, as Unreal’s Sun Position names its elevation and three’s sky example its elevation: a summer noon is about 1.1, 63 degrees. The day’s arc is scaled to pass through it, so the sun still rises at 0 and sets at 20, and every hour of a running clock stands higher or lower by the same share. It moves the sun alone: its light, the sky’s colour and the night stay what the hour gives. Over 0 and at most what keeps the arc under straight up, Math.PI / 2 at hour 10, at an hour the sun is up. Left out or false, the engine’s arc, whose peak is 55 degrees at hour 10.
sunShadows? boolean | LookSunShadows Whether the sun by day and the moon by night cast their shadow: its cascades and its far map. Left out, true; false draws neither, whatever the Landscape’s or the quality level’s map sizes. An object casts, with its settings.
toneMapping? LookToneMapping The curve that maps the frame’s light to the screen, after the exposure, as Unity’s and Godot’s tonemapper modes. Left out, ToneMappingMode.ACES_FILMIC. ToneMappingMode.LINEAR maps none and keeps the exposure, Godot’s Linear and three’s LinearToneMapping: at exposure 1 an unlit colour draws as it is, and the night still darkens it.
vignette false | VignetteProps -
wallBounce? number The sun’s light thrown back onto a BlockMap’s upright faces, as a share of the sun’s colour by its height over the horizon: a fill that ignores what stands between the face and the ground. Left out, 0: none.
wind? false | LookWind The wind the grass and the foliage bend in. Left out, a light breeze, 3 m/s with gusts of 0.5; false is still air.