Z-Fighting on mobile platforms => low fps
Hello I am having a really strange problem. When exporting my game to android I see huge fps drops at some times. So I started the frame debugger and saw that actually each mesh is rendered separately although the have the same material. The reason was that the is Z-fighting between meshes.
The meshes are simply quads that are positioned NEXT to each other and not on top of each other. This problem only occurs on my mobile device. On my PC I get about 12 draws on each frame, while on my android device there are about 10 times more.
My camera's nearClip is 0.3 and the far one is 20. I cannot really mess with them. But actually they are not the problem imo. Since even after increasing the near clipping plane value, the problem still holds.
I have enabled dynamic and static batching. I find it odd that the problem occurs even though that my meshes are not on top of each other and the problem occurs only on mobile.
Has anyone ever faced a similar issue? I have tried almost everything the internet has to offer on this problem.
Your answer
Follow this Question
Related Questions
Mystery! Low fps in empty scene with Core i7-6700k and GeForce GTX 1080 3 Answers
Implementation of GPU Flocking? 0 Answers
High GPU Usage 500 FPS 1 Answer
Unity Terrain on Android performance 1 Answer
How do I make my player move automatically with basic mobile controls like swipe left/right to turn 0 Answers