Skip to content
XorDev edited this page Mar 4, 2021 · 7 revisions

Dual-Kawase in GMS 2

Dual-Kawase is an efficient blur algorithm first described by Marius Bjorge. It excels at high-radius blurs because it iterates across multiple resolutions, however, that also limits it to a power of 2 (2, 4, 8, 16...) radii. If you need a fully adjustable radius, try my one-pass shader.

The blur is perfect for background blurring, bloom, soft shadows, and many other effects.

Inspired by Juju's Kawase implementation, but with some differences (texture clamping, different downscaler, uses two surfaces).

You're free to use this how you like! Maybe tweet me if you use it in-game.

Clone this wiki locally