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
Section titled “Parameters”Source texture
Node <"vec2">
UV coordinates
direction
Section titled “direction”Direction of ghost trail
count?
Section titled “count?”number = 3
Number of ghosts
spacing?
Section titled “spacing?”FloatInput = 0.02
Space between ghosts
opacity?
Section titled “opacity?”FloatInput = 0.4
Ghost opacity
Returns
Section titled “Returns”Node <"vec4">
Color with directional ghosts