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

LookGodRays

How a scene’s GodRays areas draw their shafts of sunlight. Each shaft fades near the camera, over its foot, in the fog, with the sun low under the horizon’s band and at night, and draws strongest with a low sun, most at the golden hour and less at dawn.

Property Type Description
cameraFadeEnd? number Metres from the camera a shaft shows whole from. Left out, 13.
cameraFadeStart? number Metres from the camera a shaft starts to show at. Left out, 5.
groundFadeHeight? number Metres over its foot a shaft takes to show whole. Left out, 2.2.
intensity? number How bright a shaft draws, a share of the key light’s colour, which it pales a little. Left out, 0.2, Luminati’s.
steepness? number How far a shaft stands from the sun’s direction toward straight up, 0 to 1. Left out, 0.45.
tint? ColorRepresentation Multiplies the shafts’ colour. Left out, #fff0d8.