Glitch

Digital glitch that melts pixels and distorts colors

Props

  • intensity

    Overall glitch strength and frequency of glitch bursts

    Type
    number
    Default
    0.5
  • speed

    How fast the glitch pattern evolves

    Type
    number
    Default
    1
  • rgbShift

    Amount of chromatic aberration (RGB channel splitting)

    Type
    number
    Default
    5
  • blockDensity

    Base number of horizontal glitch bands

    Type
    number
    Default
    10
  • colorBarIntensity

    Intensity of vivid neon color bar overlay in glitch regions

    Type
    number
    Default
    0.2
  • mirrorAmount

    Chance of glitch blocks showing mirrored/flipped content

    Type
    number
    Default
    0.3
  • scanlineIntensity

    Visibility of CRT-style horizontal scanlines in distorted areas

    Type
    number
    Default
    0.2

Usage

<Shader>
  <Glitch
    intensity={0.5}
  >
    <Circle />
  </Glitch>
</Shader>