Bevy 0.18+ • WebAssembly

BEVY RETRO SHADERS

Retro post-processing shaders for Bevy — CRT curvature, scanlines, chromatic aberration, vignette, and glitch effects. Works on Camera2d and Camera3d.

Version 0.1.0
License MIT
Repository GitHub
Category Graphics / Shaders
CRT Retro Fox

Complete CRT Effect Suite

All the tools you need to add authentic retro aesthetics to your Bevy games.

📺

Barrel Distortion

Curved screen simulation — from flat to strong CRT bulge effect.

curvature: 0.0 → 0.1
📡

Scanlines

Cosine-based horizontal line pattern with adjustable intensity.

scanline: 0.0 → 0.95
🌈

Chromatic Aberration

RGB channel offset for authentic retro color fringing.

chromatic: 0.0 → 0.015
🌑

Vignette

Smooth edge darkening for cinematic framing.

vignette: 0.0 → 1.0

Glitch Bursts

Randomized bursts with horizontal shift, RGB split, noise, and freeze.

CrtGlitch::default()
🎮

Camera2d + Camera3d

Works on both 2D and 3D pipelines — same simple API.

.add_plugins(CrtPlugin)

Keyboard Shortcuts

Toggle effects in real-time to see the impact of each parameter.

C
Toggle CRT Effect
G
Toggle Glitch
B
Toggle Bloom
T
Toggle Tonemapping

Live WebAssembly Demo

Experience CRT post-processing effects directly in your browser. The shader runs entirely client-side via WebAssembly.

2D Interactive Scene

Sprites, images, and text with CRT barrel distortion, scanlines, and glitch effects. Toggle effects in real-time with egui controls.

WebAssembly
BEVY RETRO SHADERS
Initializing CRT pipeline...
Loading WASM module

or run the 2D Demo Locally

cargo run --example crt_example --features "jpeg,hot_reload"

3D Interactive Demo

A full 3D version with PBR lighting, rotating meshes, bloom, and tonemapping.

Try 3D Demo

or run the 3D Demo Locally

cargo run --example crt_3d_example Features: PBR scene with 3 rotating spheres, directional light, bloom presets, tonemapping options, and full CRT post-processing with egui controls.