Unity Standard Shader with Custom Clipping Planes
For a project of mine, I wanted to have custom clipping planes for objects, so that if an object is intersection with another, it would hide any part after the intersection.
It looks like this:
I decided to extend the Standard shader provided by Unity3D to achieve this effect.