UnityOutlineShader
UnityOutlineShader copied to clipboard
Depth comparisons not working
I tried your tutorial, but the depth based part wasn't working. It was neccessary to set the camera depthTextureMode to DepthTextureMode.Depth
before I got good results.
NB: You can probably use DepthTextureMode.DepthNormals
to avoid needing a secondary camera.