- Home /
Problem in rendering meshes
I have been working on a project for some time now, but i encountered a problem with rendering. if you check the video, you will see that the brown meshes are getting cut off randomly when i move. the exact same thing happens when i enable shadows, you see random shadows here and there. i tried many options in Edit->Project settings->Quality also i tried messing with the rendering path. nothing is making any difference.
any idea is appreciated. thanks
ok so who ever wants to know how this got fixed, i got the near clipping on the camera set to 0.3 (default) and i set it to 50 (i don't know why to be honest) but this fixed it. it made no sense at all but it worked
Answer by N1warhead · Aug 10, 2017 at 07:37 AM
First thing I'd check is - make sure the brown wall piece isn't too close to the actual wall (causing clipping), I know that sounds stupid, but it's something to check just encase.
Second thing I'd check is - Z Fighting. Go into your Camera and tweak around the clipping planes (mainly the 'Near' clipping plane. ) I know that doesn't seem like that can work, but believe it or not adjusting the clipping planes can sometimes fix these types of issues, even though the name 'clipping plane' has no reference to doing anything other than what to render at a distance and up close.
I hope that works for you mate.
it was actually the near clipping, it made no sense moving from 0.3 to 50 (it worked at 50) but it did. so thank
Your answer
![](https://koobas.hobune.stream/wayback/20220612132405im_/https://answers.unity.com/themes/thub/images/avi.jpg)