afterimageGlow
afterimageGlow(
currentColor,previousTex,uv,persistence?,intensity?):Node<"vec4">
Defined in: packages/nodes/src/vfx/afterimage.ts:76
Additive afterimage for glowing ghost effects.
Parameters
Section titled “Parameters”currentColor
Section titled “currentColor”Node <"vec4">
Current frame color
previousTex
Section titled “previousTex”Previous frame texture
Node <"vec2">
UV coordinates
persistence?
Section titled “persistence?”FloatInput = 0.7
Persistence amount
intensity?
Section titled “intensity?”FloatInput = 0.5
Glow intensity
Returns
Section titled “Returns”Node <"vec4">
Color with additive afterimage