ghostTrail
ghostTrail(
tex,uv,direction,count,spacing,opacity):Node<"vec4">
Defined in: packages/nodes/src/vfx/afterimage.ts:150
Directional ghost trail - creates ghosts along a direction.
Parameters
tex
Source texture
uv
Node<"vec2">
UV coordinates
direction
Direction of ghost trail
count
number = 3
Number of ghosts
spacing
FloatInput = 0.02
Space between ghosts
opacity
FloatInput = 0.4
Ghost opacity
Returns
Node<"vec4">
Color with directional ghosts