← all repositories
bloc97/Anime4K

Real-time anime upscaling that runs on your GPU, not your patience

A set of GLSL shaders that upscale 1080p anime to 4K in real time, trading the quality of offline neural networks for the ability to actually watch your show without stuttering.

Anime4K
Velocity · 7d
+8.4
★ / day
Trend
steady
star history

What it does Anime4K is a collection of open-source upscaling and denoising algorithms delivered as GLSL shaders. You drop them into media players like mpv, Plex, or IINA, and your 1080p anime gets upscaled to 4K on the fly using your GPU. The project explicitly targets native 1080p h.264/h.265/VC-1 content—not re-encodes, not DVDs, not your 720p collection from 2008.

The interesting bit The v4 release tackles what the authors call “distribution shift”: anime production is messy, with inconsistent compositing quality across scenes and studios. Traditional super-resolution algorithms choke on this variance; GANs handle it implicitly but are too slow for real-time playback. Anime4K’s line reconstruction algorithm explicitly corrects for this shift, letting simpler MSE-based methods work where they otherwise wouldn’t. It’s a pragmatic hack—acknowledging that anime is not a clean dataset.

Key highlights

  • Runs in real time on a Vega 64 (performance tested with UL variants; M variants are faster)
  • Modular shader system: mix and match upscalers, deblurring, denoising, and artifact reduction
  • Explicitly not for low-resolution or heavily degraded sources; authors are clear that SRGANs and waifu2x win on quality for those cases
  • Re-implemented across a dozen languages and platforms (Metal, Rust, C++, PyTorch, WebGPU, Unity…)
  • Philosophy: preserve originals, avoid re-encoding—“lost information is lost”

Caveats

  • Not optimized for 720p, 480p, or pre-digital anime with film grain, bad deinterlacing, or MPEG artifacts
  • The v3 shader wiki is marked “OUTDATED”; documentation lags releases
  • Experimental SRGAN shaders for 360p→4K exist but are explicitly labeled experimental

Verdict Worth a look if you watch modern 1080p anime on a 4K display and want a live improvement without re-encoding your library. Skip it if your content is older, lower-resolution, or if you need batch processing—this is a playback-time tool, not a transcoding pipeline.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.