The light’s colour: a CSS colour, a number, or a Color the game may change in place.
intensity?
number
2
As an emissive surface’s intensity: the sprite’s light per pixel at its middle is the colour times this, so give the near thing’s own emissive values. Past the bloom’s threshold it blooms where the level draws bloom. 0 or more: 0 puts it out for a while.
minPixels?
number
3
The drawing-buffer pixels across which the sprite holds at its smallest, so 1.5 CSS pixels for 3 at a pixel ratio of 2: its full-bright middle is about this wide, with a soft edge past it. 1 or more.
position?
Vector3Tuple
[0, 0, 0]
Metres from the object it is mounted under, in that object’s own axes, such as a lantern’s flame above its base.
size?
number
0.2
Metres across the thing that glows, such as 0.05 for a run of resin or 0.3 for a lantern’s glass: the sprite fades in as the thing shrinks from twice minPixels to minPixels on the screen, and the thing’s own mesh carries it nearer. Above 0.