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.
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
color |
ColorRepresentation |
undefined |
intensity |
number |
undefined |
opacity |
number |
1 |
Returns
Section titled “Returns”MeshStandardMaterial