Skip to content

lcdMotionGhost

lcdMotionGhost(tex, uv, velocity, persistence): Node<"vec4">

Defined in: packages/nodes/src/display/lcd.ts:163

Simple LCD persistence effect (single texture version). Creates motion blur by blending with offset samples.

Parameters

tex

TextureNode<"vec4">

Source texture

uv

Node<"vec2">

UV coordinates

velocity

Node<"vec2">

Motion direction and speed

persistence

FloatInput = 0.4

Ghost amount

Returns

Node<"vec4">

Color with motion ghosting