Skip to content

scanlinesSmooth

scanlinesSmooth(inputColor, uv, resolution, intensity, phase): Node<"vec4">

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

Smooth scanlines with sine wave pattern. More authentic CRT look with gradual brightness variation.

Parameters

inputColor

Node<"vec4">

Input color

uv

Node<"vec2">

UV coordinates

resolution

FloatInput = 240

Vertical resolution

intensity

FloatInput = 0.2

Effect intensity

phase

FloatInput = 0

Phase offset (use for animation/interlacing)

Returns

Node<"vec4">

Color with smooth scanlines