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
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.8
Persistence amount
ghostTint?
Section titled “ghostTint?”Vec3Input = ...
Color tint for the ghost (default: slight blue)
Returns
Section titled “Returns”Node <"vec4">
Color with tinted afterimage