Skip to content

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

currentColor

Node<"vec4">

Current frame color

previousTex

Texture

Previous frame texture

uv

Node<"vec2">

UV coordinates

persistence

FloatInput = 0.7

Persistence amount

intensity

FloatInput = 0.5

Glow intensity

Returns

Node<"vec4">

Color with additive afterimage