Skip to content

phosphorSlotMask

phosphorSlotMask(inputColor, uv, resolutionX, resolutionY, intensity): Node<"vec4">

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

Slot mask phosphor pattern. Staggered RGB pattern common in many CRT TVs.

Parameters

inputColor

Node<"vec4">

Input color

uv

Node<"vec2">

UV coordinates

resolutionX

FloatInput = 640

Horizontal resolution

resolutionY

FloatInput = 480

Vertical resolution

intensity

FloatInput = 0.3

Mask intensity

Returns

Node<"vec4">

Color with slot mask effect