Skip to content

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.

Texture 

Source texture

Node <"vec2">

UV coordinates

Vec2Input

Movement velocity

number = 5

Maximum number of ghosts at full speed

FloatInput = 0.015

Base spacing between ghosts

FloatInput = 0.5

Ghost opacity

Node <"vec4">

Color with speed-based ghosts