Unity: GrabPass distortion shader example updated

UnityA few months ago, I was providing help in the Unity forums where someone asked how to add animated distortions to his game. Since I’m a big fan of distortion effects, I couldn’t resist to create a simple shader example.

The example was created in Unity 4 at this time and I recently have been made aware it doesn’t work well in new and shiny Unity 5, so I updated it to support just that. I also extended the shader slightly, which now accepts an optional intensity mask that describes where distortions are applied.

Here is the initial video I recorded showing the effect in Unity 4. Keep in mind, it’s just an example and most likely not ready to be used in your upcoming triple-A mobile title 😉

Download example project

Visit forum post

Tweet about this on TwitterShare on RedditPin on PinterestShare on Facebook