CRTScreen

Retro CRT monitor simulation with scanlines

Props

  • pixelSize

    Density of the RGB phosphor stripes — about half this many across the canvas width (higher = smaller, finer pixels)

    Type
    number
    Default
    128
  • colorShift

    Chromatic aberration amount

    Type
    number
    Default
    1
  • scanlineIntensity

    Strength of horizontal scanlines

    Type
    number
    Default
    0.3
  • scanlineFrequency

    Number of scanlines across screen

    Type
    number
    Default
    200
  • brightness

    Screen brightness boost

    Type
    number
    Default
    1
  • contrast

    Screen contrast enhancement

    Type
    number
    Default
    1
  • vignetteIntensity

    Strength of corner darkening effect (0 = off)

    Type
    number
    Default
    1
  • vignetteRadius

    How far the vignette extends inward (0 = edges only, 1 = reaches center)

    Type
    number
    Default
    0.5

Usage

<Shader>
  <CRTScreen>
    <Circle />
  </CRTScreen>
</Shader>