Outline obstructed objects

      Comments Off on Outline obstructed objects

This is a simple shader which makes it possible to outline obstructed objects and draw them on top of the obstructions. I’ve used Unity’s Standard Shader and modified it to support two more properties: Outline Color and Outline Width.

Note that the Standard Shader is taken from the 5.6.1 version. If you have a more recent version of Unity some options from the Standard Shader might be missing.