Skip to content

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.

Texture 

Source texture

Node <"vec2">

UV coordinates

Vec2Input

Direction of ghost trail

number = 3

Number of ghosts

FloatInput = 0.02

Space between ghosts

FloatInput = 0.4

Ghost opacity

Node <"vec4">

Color with directional ghosts