marble3 / stageBackdrop
Function: stageBackdrop()
stageBackdrop(
centre,edge,lattice):CanvasTexture
Defined in: src/backdrop.ts:11
Paints a lit stage for scene.background, for a scene looked at from above such as a board game: a pool of light from centre out to edge, a faint diagonal lattice, and darkened corners. All three are CSS colours.
A background texture is stretched to the canvas, not fitted, which a soft gradient survives and a picture would not.
Parameters
centre
string
edge
string
lattice
string
Returns
CanvasTexture