0
Not a bug

Z-fighting issue with shader in Unity 5.6/SF 1.36

Peter Howell 7 years ago updated by Freya Holmér (Developer) 7 years ago 2

I'm currently using two models to create my main character.  One has a custom shader I built in Shader Forge to give a gradient effect while the other model is slightly offset with an Unlit/Color shader to give an illustrated effect.  


In Unity 5.5, there was no Z-fighting between the two models but after updating to Unity 5.6/SF 1.36, there is Z-fighting occuring between the two models.  I provided a video at this link to show what the issue looks like  (https://drive.google.com/open?id=0Bw4fgfepuUrHOFAtXy1BeEFzZFE) .  I appreciate any help you can give.

Answer

Answer
Not a bug

Glad it worked out!

Solved this by adjusting near clipping planes on the camera.

Answer
Not a bug

Glad it worked out!