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
tex
Source texture
uv
Node<"vec2">
UV coordinates
velocity
Movement velocity
maxGhosts
number = 5
Maximum number of ghosts at full speed
spacing
FloatInput = 0.015
Base spacing between ghosts
opacity
FloatInput = 0.5
Ghost opacity
Returns
Node<"vec4">
Color with speed-based ghosts