Skip to content

afterimageTinted

afterimageTinted(currentColor, previousTex, uv, persistence?, ghostTint?): Node <"vec4">

Defined in: packages/nodes/src/vfx/afterimage.ts:46

Afterimage with color tinting for ghost trails.

Node <"vec4">

Current frame color

Texture 

Previous frame texture

Node <"vec2">

UV coordinates

FloatInput = 0.8

Persistence amount

Vec3Input = ...

Color tint for the ghost (default: slight blue)

Node <"vec4">

Color with tinted afterimage