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.
Parameters
currentColor
Node<"vec4">
Current frame color
previousTex
Previous frame texture
uv
Node<"vec2">
UV coordinates
persistence
FloatInput = 0.8
Persistence amount
ghostTint
Vec3Input = ...
Color tint for the ghost (default: slight blue)
Returns
Node<"vec4">
Color with tinted afterimage