the current renderer instance
Optionaloptions: { color?: number[]; intensity?: number } = {}effect options
Optionalcolor?: number[]hologram tint color [r, g, b]
Optionalintensity?: numbereffect intensity (0.0–1.0)
Readonlydestroyedtrue once destroy has been called. Distinct from
enabled — which also toggles transiently across a context
lost / restored cycle — to give callers a stable signal for
"this effect has been explicitly released."
whether this effect is active (false in Canvas mode, false after
destroy, and false while the WebGL context is suspended
between an ONCONTEXT_LOST and the matching ONCONTEXT_RESTORED
event).
destroy this shader effect. Idempotent — calling destroy twice is safe. Unsubscribes from the renderer's context-lost / restored events so a destroyed effect is not auto-reactivated.
set the hologram tint color
color as [r, g, b] (0.0–1.0)
set the current time (call each frame for animation)
time in seconds
Set the uniform to the given value
the uniform name
the value to assign to that uniform
A shader effect that simulates a holographic projection with horizontal scan lines, color shift, and flickering. Commonly used for sci-fi UI, ghost/spirit characters, or tech displays. The
timeuniform should be updated each frame for animation.See
Renderable.shader for usage
Example