Hey everyone! ![]()
I’ve been working on a tutorial series inspired by the EarthBound battle backgrounds — those hypnotic, looping visuals that were surprisingly advanced for the SNES era.
In this series, we pull back the curtain and rebuild each effect from scratch using WebGL shaders and Phaser 3.
Each effect is covered in two parts:
-
Shader Breakdown: A plain WebGL explanation for how the math and fragment logic work.
-
Phaser Implementation: How to bring the effect into your Phaser projects using custom pipelines.
Effects covered
-
Palette Cycling
-
Background Scrolling
-
Horizontal Oscillation
-
Vertical Oscillation
-
Interleaved Horizontal Oscillation
-
Transparency
Finally, I’ll be sharing how to combine multiple effects into a single composite shader pass — perfect for dynamic, animated battle scenes or retro-style transitions.
Here’s a quick preview from the demo scene I’ve been building:
Watch the series here: https://youtube.com/playlist?list=PLmcXe0-sfoSgbU24wCN6hdtibMmz68KVe&si=tUk4JBe4622DPoV2
Would love to hear your thoughts or see other Phaser shader experiments you’ve created!