Skip to content

lcdGhosting

lcdGhosting(currentTex, previousTex, uv, persistence): Node<"vec4">

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

LCD ghosting/motion blur effect. Simulates the slow pixel response time of LCD displays.

Parameters

currentTex

TextureNode<"vec4">

Current frame texture

previousTex

TextureNode<"vec4">

Previous frame texture

uv

Node<"vec2">

UV coordinates

persistence

FloatInput = 0.6

Ghost persistence (default: 0.6)

Returns

Node<"vec4">

Color with ghosting effect