the current renderer instance
Optionaloptions: { color?: number[]; intensity?: number; textureSize?: number[]; width?: number } = {}effect options
Optionalcolor?: number[]glow color as [r, g, b] (0.0–1.0)
Optionalintensity?: numberglow brightness multiplier
OptionaltextureSize?: number[]texture dimensions [width, height]
Optionalwidth?: numberglow spread in pixels
whether this effect is active (false in Canvas mode)
destroy this shader effect
set the glow color
glow color as [r, g, b] (0.0–1.0)
set the glow intensity
glow brightness multiplier
set the texture size
texture width in pixels
texture height in pixels
Set the uniform to the given value
the uniform name
the value to assign to that uniform
A shader effect that adds a colored glow around the sprite. Similar to OutlineEffect but with a soft, blurred edge instead of a hard line. Commonly used for power-ups, magic items, or selection highlights.
See
Renderable.shader for usage
Example