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

createGlowMaterial

createGlowMaterial(color, intensity, opacity?): MeshStandardMaterial

A glowing material for a spell’s parts: its colour lit and emitted, at intensity above 1 so a scene’s bloom takes it. opacity under 1 makes it fade.

Parameter Type Default value
color ColorRepresentation undefined
intensity number undefined
opacity number 1

MeshStandardMaterial