Skip to content

scanlinesInterlaced

scanlinesInterlaced(inputColor, uv, resolution, field, intensity): Node<"vec4">

Defined in: packages/nodes/src/display/scanlines.ts:123

Interlaced scanlines for authentic interlaced display simulation. Alternates which lines are visible each frame.

Parameters

inputColor

Node<"vec4">

Input color

uv

Node<"vec2">

UV coordinates

resolution

FloatInput = 240

Vertical resolution

field

FloatInput = 0

Current field (0 or 1, alternate each frame)

intensity

FloatInput = 0.5

Scanline intensity

Returns

Node<"vec4">

Color with interlaced scanlines