Skip to content

phosphorSimple

phosphorSimple(inputColor, screenCoord, scale, intensity): Node<"vec4">

Defined in: packages/nodes/src/display/phosphorMask.ts:146

Simple RGB stripe mask (lightweight version).

Parameters

inputColor

Node<"vec4">

Input color

screenCoord

Node<"vec2">

Screen coordinates (gl_FragCoord.xy or similar)

scale

FloatInput = 1

Stripe scale (pixels per color)

intensity

FloatInput = 0.2

Effect intensity

Returns

Node<"vec4">

Color with RGB stripes