This was one of the most interesting projects—I had a blast working on it.
While originally designed as a distortion shield, the shader can be easily adapted for other use cases, such as sound waves or a bubble shield.
In the breakdown below, I showcase a much simplified version of the original shader. The underlying math is fairly straightforward; what really sets it apart is how it’s applied. The small details and final polish play a crucial role in bringing the effect to life.