Datamosh Riot
A chunky color-band signal torn apart by row and column shifts, RGB channel split, scattered block corruption and rolling scanlines — a hard, broken-broadcast riot.
Parameters
| Parameter | Label | Default | Range | Description |
|---|---|---|---|---|
sliceSize |
Slice Size | 0.35 | 0–1 | Thickness of the horizontal/vertical slices used for shifting and the block-corruption grid. |
glitchAmount |
Glitch Amount | 0.55 | 0–1 | Overall glitch intensity — scales triggers, block corruption and per-pixel jitter. |
shiftAmount |
Shift | 0.55 | 0–1 | How far triggered rows, columns and big-row bands tear sideways. |
rgbShift |
RGB Shift | 0.5 | 0–1 | Magnitude of red/blue channel split along the shift direction. |
blockCorrupt |
Block Corruption | 0.5 | 0–1 | Density of the random colored block corruption that overlays the signal. |
scanlines |
Scanlines | 0.35 | 0–1 | Strength of the vertical scanline modulation over the final image. |
Downloads
- datamosh-riot.frag — VS2 version
- datamosh-riot.fs — ISF version
License
The shader source code is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0). You can share and adapt the code for non-commercial purposes, as long as you credit the author and distribute contributions under the same license. Commercial redistribution of the source code requires permission.
Using the Output
The visual output produced by running these shaders is yours to use. VJ at a party, use it in a music video, project it at a festival — go for it. If you're making money from it, consider supporting my music at Mirlo, Subvert or Bandcamp.