Two-pass blurs are pretty common, but they're not the only way to do blurs in shaders. Here's how you can do a single-pass disk blur!
0:00 Introduction
2:44 A quick bit of theory
3:44 Sampling from the texture in a ring
7:23 Sampling points in a spiral instead of a ring
12:49 Weighting samples
15:18 The Golden Spiral
20:22 Adding random noise
24:30 Increasing the sample count
Here's the code:
https://github.com/DragoniteSpam-Game...
Xor's radial blur:
https://github.com/XorDev/1PassBlur
The Book of Shaders:
https://thebookofshaders.com/
Xor's shader blogs:
https://mini.gmshaders.com/
GameMaker 3D playlist:
• 3D in Game Maker Studio 2
GameMaker Studio 2 playlist:
• Game Maker Studio 2 - General Tutorials
Wishlist Wizarducks on Steam!
https://store.steampowered.com/app/27...
#GameMaker
#GameMakerTutorial
#GameMakerShaders
- - - -
I've now made that Patreon:
/ wizardragon
That promised social media link spam.
/ dragonitespam
Transition / idle music is by my old friend Kamex:
/ greatgabite
Rate, comment, subscribe, watch more, enjoy!