Spyke

Godot 4: Screen glitch shader (tutorial)

Hi everyone! Recently, I returned to the algorithm we used for generating the lightning effect and tried to apply it in a slightly different way. Essentially, it involves decomposing the texture into individual color components - red, green, and blue - and shifting them according to a pseudo-chaotic value. I think I've seen something similar in a few games, and maybe such an effect will be useful for your project too. So let's get to it.

View original on programming.dev

Oh my gosh I've not saved a post quicker! This is something I've wanted to do for ages! :) Thank you

1

You reached the end

Godot 4: Screen glitch shader (tutorial) | Spyke