UnityOutlineShader icon indicating copy to clipboard operation
UnityOutlineShader copied to clipboard

Depth comparisons not working

Open BorisTheBrave opened this issue 4 years ago • 0 comments

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.

BorisTheBrave avatar Oct 14 '19 19:10 BorisTheBrave