Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Amazing! I thought it would be daunting to get a glitch effect going in my game, but this shader made it insanely easy. Thanks so much for sharing your great work!

Side note - I was having an issue where sticking the shader code into my camera's Draw GUI event was somehow overriding all of my other Draw GUI events, but this was fixed once I moved it into the "Draw GUI Begin" event. Not entirely sure how this works (might be unique to my setup), but just in case it solves the issue for anyone else!

This is entirely dependent on the order in which your Draw GUI code gets executed, which gets complicated if there are several instances of objects w/ code in that particular event active at once, which is likely why your solution solves the problem - it makes sure the shader application code runs first.