Mineuniverse
Shaders
Datamosh

Datamosh

SHADER
MPEG-style datamosh compression artifacts.
by xsoras
Download Claim this project
29,446 downloads
0 likes
Updated Oct 14, 2026
0 hypes
Vanilla
Advertisement Remove ads with Premium →

image

> Digital compression errors woven into the world.

Datamosh is a post-processing shader that recreates the visual artifacts associated with corrupted MPEG-style video compression. Instead of traditional visual enhancement, the shader deliberately introduces macroblock displacement, color quantization, chroma reconstruction errors, and edge artifacts to emulate the appearance of damaged or mispredicted P-frames. The result is a constantly shifting image where sections of the scene appear to borrow data from the wrong locations, producing a convincing datamosh-inspired aesthetic during gameplay.

Replace this with a description

Replace this with a description

Replace this with a description


✨ Highlights

Macroblock Motion Corruption. The image is divided into 8×8 pixel macroblocks. Each block periodically generates its own motion behavior and samples pixels from offset locations rather than its original position. Most blocks remain stable, while others drift or suddenly jump across the frame, reproducing the characteristic block displacement seen in damaged compressed video streams.

Asynchronous Block Updates. Each macroblock updates on its own timing interval rather than following a uniform pattern. This prevents the effect from appearing synchronized and creates the impression of independent compression errors spreading through the image over time.

Datamosh-Style Frame Smearing. When a block shifts, it continues to reconstruct its contents using pixel positions from the displaced source region. This preserves the structure of the macroblock while pulling visual information from elsewhere in the frame, creating the smeared and fragmented appearance associated with motion-vector corruption.

DCT Edge Ringing Simulation. Additional brightness variation is applied near macroblock boundaries to mimic ringing artifacts commonly produced by discrete cosine transform compression. These subtle bright and dark fringes help reinforce the illusion of heavily compressed video.

Adaptive Color Quantization. Color values are reduced to a limited number of levels on a per-block basis. Blocks experiencing stronger displacement receive heavier quantization, producing visible banding and compression breakup similar to low-bitrate MPEG footage.

Chroma Subsampling Artifacts. Color information is reconstructed at a lower effective resolution by sampling chroma from neighboring pixels while preserving local luminance. This reproduces the color bleeding and misalignment often associated with 4:2:0 video compression.

Mosquito Noise Around Edges. High-frequency noise is introduced around areas of contrast, imitating the shimmering edge artifacts that appear after aggressive video compression. The effect is strongest around detailed image features and moving regions.


⚙️ Compatibility

  • Implemented as a composite post-processing pass.
  • Uses GLSL 1.20 shaders.
  • Operates entirely on the rendered image (colortex0) rather than modifying lighting, materials, shadows, or world rendering.
  • No custom buffers, lighting systems, or advanced rendering pipelines are present in the project.
  • Designed as a visual-effect shader focused on compression artifacts and datamosh simulation.
Datamosh 1.1
MC 1.16.3, 1.13.1, 1.9.3, 1.8.7, 1.7.4, 1.7.7, 1.7.6, 1.16-Snapshot, 1.17.1, 1.9.1, 1.21.2-Snapshot, 1.21, 1.21.6-snapshot, 1.15-Snapshot, 1.7.5, 1.16.1, 1.18.1, 1.20.2-Snapshot
Release 2026-09-10 Get
D1t0mosh
MC 1.16.3, 1.13.1, 1.9.3, 1.8.7, 1.7.4, 1.7.7, 1.7.6, 1.16-Snapshot, 1.17.1, 1.9.1, 1.21.2-Snapshot, 1.21, 1.21.6-snapshot, 1.15-Snapshot, 1.7.5, 1.16.1, 1.18.1, 1.20.2-Snapshot
Release 2026-06-01 Get

Requirements & install

How to use this shader in Minecraft
Shader loader
Iris or OptiFine
Minecraft
1.16.1 – 1.21.6-snapshot
Install folder
.minecraft/shaderpacks

How to install shaders

  1. Install a shader loader for your Minecraft version: Iris (with Sodium) or OptiFine.
  2. Download the shader pack .zip file (do not extract it).
  3. Put the .zip into the shaderpacks folder (.minecraft/shaderpacks).
  4. In game open Options → Video Settings → Shader Packs, select the pack and apply it.
Browse more: Iris shaders OptiFine shaders Shaders for 1.21.6-snapshot All shaders

More from xsoras

Advertisement Remove ads with Premium →

You Might Also Like