- Home /
Question by
Relevate · Jul 24, 2013 at 05:15 PM ·
meshcombinemeshes
Mesh.CombineMeshes causes objects to appear in front when they really aren't
I have a large number of small meshes which I combine into a series of large meshes. However, when I do this, some of these objects appear in front of the other objects despite being physically behind them. When I don't combine the meshes this is not an issue. Any idea what could be causing this?
picture1.png
(220.3 kB)
Comment
When I was doing this, I was using two cameras with different culling masks. So when it combined the meshes it was in the wrong layer, so maybe thats what you've got going on?
It was actually the new particle shader I was using, I simply turned ZWrite back on. Is there any way I can close this question?
Your answer
![](https://koobas.hobune.stream/wayback/20220613110756im_/https://answers.unity.com/themes/thub/images/avi.jpg)