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

LookBackground

A painted sky drawn behind the scene in place of the rig’s own, and the sky the scene takes its soft light from where the look names no environment.image.

Property Type Description
anchors? LookBackgroundAnchor[] Rows of the image pinned to heights over the true horizon, for an image not drawn level: its painted horizon, the tops of its mountains. The rows between two anchors, and out to the zenith and the nadir, spread evenly. Left out, the image is drawn level, its middle row on the horizon.
file string An equirectangular image the browser decodes: WebP, JPEG or PNG.
haze? LookBackgroundHaze A haze laid over the image at the horizon and everything under it, thinning to none higher up. Left out, none.
intensity? number Multiplies the image’s brightness, linearly, as three’s backgroundIntensity and Unity’s skybox exposure: 0 is black, and below 1 keeps a deep blue from washing out under a bright look’s exposure. The light the scene takes from the sky follows it, under the look’s environment.intensity. The scene’s own value stands when left out.
sunU number The column the image’s sun stands in, 0 to 1 across it: the rig turns the image to put it on its own sun.