phosphorMask
phosphorMask(
inputColor,uv,maskType,resolution,intensity):Node<"vec4">
Defined in: packages/nodes/src/display/phosphorMask.ts:177
Customizable phosphor mask with configurable pattern.
Parameters
inputColor
Node<"vec4">
Input color
uv
Node<"vec2">
UV coordinates
maskType
Type: ‘aperture’, ‘slot’, or ‘shadow’
"slot" | "aperture" | "shadow"
resolution
FloatInput = 640
Resolution scale
intensity
FloatInput = 0.3
Mask intensity
Returns
Node<"vec4">
Color with phosphor mask