Skip to content

phosphorSimple

phosphorSimple(inputColor, screenCoord, scale?, intensity?): VarNode <"vec4", JoinNode <"vec4">>

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

Simple RGB stripe mask (lightweight version).

Node <"vec4">

Input color

Node <"vec2">

Screen coordinates (gl_FragCoord.xy or similar)

FloatInput = 1

Stripe scale (pixels per color)

FloatInput = 0.2

Effect intensity

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

Color with RGB stripes