ghostSpeed
ghostSpeed(
tex,uv,velocity,maxGhosts?,spacing?,opacity?):Node<"vec4">
Defined in: packages/nodes/src/vfx/afterimage.ts:189
Speed ghost effect - ghosts that appear based on movement speed.
Parameters
Section titled “Parameters”Source texture
Node <"vec2">
UV coordinates
velocity
Section titled “velocity”Movement velocity
maxGhosts?
Section titled “maxGhosts?”number = 5
Maximum number of ghosts at full speed
spacing?
Section titled “spacing?”FloatInput = 0.015
Base spacing between ghosts
opacity?
Section titled “opacity?”FloatInput = 0.5
Ghost opacity
Returns
Section titled “Returns”Node <"vec4">
Color with speed-based ghosts