2D Practice Shaders in Godot: Four New Effects
Godot 2D Practice Shaders Series - Episode 3
In this episode we learn four more practice shaders, building on the ideas from the first two videos.
We’ll explore:
-Color bands to paint a seamless shifting rainbow
-Texture mixing with interpolation for strength-based texture blending
-Rotating and blurring waves to create swirling marbles
-Polar sampling for edge detection and animated outlines
-Procedural noise to give borders a lively flicker or fiery glitch
SHADER 7 ShiftingHueGradient — add a rainbow that drifts across any sprite
CC0 License
https://godotshaders.com/shader/moving-rainbow-gradient/
SHADER 8 WaveRotateBlur — replace the texture with configurable swirling waves
CC0 License
https://godotshaders.com/shader/gabor-patch/
SHADER 9 AnimatedBorder2 — draw a rotating outline around the pixels of a texture
CC0 License
https://godotshaders.com/shader/animated-2d-outline/
SHADER 10 FlickerBorder — generate a noisy, flickering border for magical effects
CC0 License
https://godotshaders.com/shader/animated-and-gradient-outlines/
The code shown is simplified for learning, but the original versions live on godotshaders.com.
Timestamps
00:00 Intro
01:01 SHADER 7 ShiftingHueGradient
03:42 SHADER 8 WaveRotateBlur
06:36 SHADER 9 AnimatedBorder2
11:59 SHADER 10 FlickerBorder
17:33 Recap
Happy shading!