Visual Glitchcraft: Snake Through a Broken Display [Snake Rewind Ep 8]

Опубликовано: 01 Май 2026
на канале: Let's Reinvent the Wheel
196
6

🧙‍♂️ In Episode 8 of Snake Rewind we go full visual glitchcraft: layering on a suite of postprocessing effects to give the game that worn out CRT look with a modern shader twist.

From retro scanlines and flickering to color channel separation and screen distortion, this episode is all about *style*. We transform our clean pixel grid into something that feels alive, unstable and beautifully broken.

🎮 What we cover:
Adding scanlines with customizable frequency and opacity
Creating a time based flicker effect for a subtle CRT shimmer
Simulating image distortion using sine waves
Splitting RGB channels with a chromatic aberration shader
Combining all effects into a clean shader pass pipeline

This is the moment where Snake Rewind steps fully into arcade mode.

📺 Full Snake Rewind Series Playlist:    • Snake Rewind: Building a Retro Snake Game ...  
📖 Companion Blog Post: https://letsreinventthewheel.github.i...
🧠 Source code: https://github.com/letsreinventthewhe...

Snake Rewind isn't just a remake. It is Snake with a twist:
🐍 Clone snakes that retrace your path
✨ Retro shaders: bloom, scanlines, chromasep
🎮 Reactive UI, game feel, and juicy feedback
🎧 Music and SFX polish (hopefully we can find free sounds)

💬 Got questions? Drop a comment.
👍 Like what you see? Hit the like button.
📌 Want more projects like this? Subscribe and stay tuned...

00:00 Intro / Episode goals
00:46 Adding new postprocessing step (framebuffer + shader)
03:20 Introducing scanlines effect
04:11 Building scanlines effect intuition on our own (math!)
15:20 Picking between two different formulas for scanlines
18:43 Animating scanlines
19:30 Introducing `time` uniform
22:27 Combining scanlines with our game board
25:02 Adding flicker effect
27:11 Adding distortion effect
32:47 Adding chromatic aberration effect
35:03 We are done! Contribute to the project

#shaders #raylib #coding #programming #gamedev #postprocessing