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

LightMaskBandOptions

The band along the dark side of a light mask’s boundary.

Property Type Default value Description
darkness? number 0.5 The most of the light left in the dark that the band takes, from 0 to 1, times the band’s strength: half at the line, where the blend is half lit, all just past the blend, and none at its width.
fogDensity? number 1 The most the band multiplies the fog’s thickness by, over the mask’s own fog.density, times the band’s strength: 2 thickens it 1.5 times at the line and twice just past the blend. 0 or more.
height? number undefined Metres above the ground at which the band has faded to none, so it lies low while the region’s dark stays full height. Measured above the Landscape’s ground, or above y 0 with no Landscape. Left out, the band reaches all the way up.
width number undefined Metres the band reaches into the dark from the line, above 0 and at most half the rampWidth, where red stops changing.