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

LightMaskFillLightOptions

The light a light mask’s texture lays on the land it lights, from its green, blue and alpha as linear RGB, 0 to 1 each. It lights as the sky’s fill does, from every side, so a character, a trunk and the ground in the pool all take it with their own colours. Pools join by adding, so write them with an additive blend, where red joins by its larger value.

Property Type Default value Description
color? ColorRepresentation white Multiplies the texture’s colour.
intensity? number 1 Multiplies the texture’s colour, as an ambient light’s intensity: 1 lights a white surface under a texel of 1 as an ambient light of intensity 1 does. 0 or more.