Documentation

Glitch

Digital glitch that melts pixels and distorts colors

Props

intensitynumber
Default:0.5
Overall glitch strength and frequency of glitch bursts
speednumber
Default:1
How fast the glitch pattern evolves
rgbShiftnumber
Default:5
Amount of chromatic aberration (RGB channel splitting)
blockDensitynumber
Default:10
Base number of horizontal glitch bands
colorBarIntensitynumber
Default:0.2
Intensity of vivid neon color bar overlay in glitch regions
mirrorAmountnumber
Default:0.3
Chance of glitch blocks showing mirrored/flipped content
scanlineIntensitynumber
Default:0.2
Visibility of CRT-style horizontal scanlines in distorted areas

Usage

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