Skip to content

scanlinesSmooth

scanlinesSmooth(inputColor, uv, resolution?, intensity?, phase?): VarNode <"vec4", JoinNode <"vec4">>

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

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

Node <"vec4">

Input color

Node <"vec2">

UV coordinates

FloatInput = 240

Vertical resolution

FloatInput = 0.2

Effect intensity

FloatInput = 0

Phase offset (use for animation/interlacing)

VarNode <"vec4", JoinNode <"vec4">>

Color with smooth scanlines