Godot 4: Screen glitch shader (tutorial)

in shaders •  3 months ago 

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.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!