- Home /
Shader shows black lines from occluded object
Please look at the embedded image to see the artifact. There are black lines bleeding through from the occluded object underneath. Is there any way to avoid this artifact?
It used to be that this artifact would show up on PC and not Android/OUYA, but with the upgrade to Unity 4.5 it now shows on both.
I have attached the shader being used. link text It is simply the builtin blinnphong shader with one line added for energy conservation, and every mode that is not using directional lightmapping stripped out. The other change is a -2, -2 Offset parameter, to remove problems with z-fighting between various layers of the game.
Answer by Ludeme Games · Jul 13, 2014 at 11:51 PM
Removing the offset parameter fixed this.
Your answer
Follow this Question
Related Questions
Shader working on pc but not on Android 1 Answer
Transparency artifacts android 0 Answers
Textures are distorted when building for android 2 Answers
Radial Blur for Android/iOS 0 Answers
UI leads to game crash 1 Answer