# I set all the material to \`backFaceCulling = false;\` but when I panning the camera my meshes cutting and go to vanish, how can I solve this problem

**URL:** <https://forum.babylonjs.com/t/i-set-all-the-material-to-backfaceculling-false-but-when-i-panning-the-camera-my-meshes-cutting-and-go-to-vanish-how-can-i-solve-this-problem/22362>\
**Category:** Questions\
**Tags:** material\
**Created:** [July 14, 2021, 7:20am UTC](https://forum.babylonjs.com/t/i-set-all-the-material-to-backfaceculling-false-but-when-i-panning-the-camera-my-meshes-cutting-and-go-to-vanish-how-can-i-solve-this-problem/22362 "2021-07-14T07:20:53Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![nogalo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/nogalo/32/120_2.png) [@nogalo](https://forum.babylonjs.com/u/nogalo)\
**Post date:** [July 15, 2021, 8:52am UTC](https://forum.babylonjs.com/t/i-set-all-the-material-to-backfaceculling-false-but-when-i-panning-the-camera-my-meshes-cutting-and-go-to-vanish-how-can-i-solve-this-problem/22362/9 "2021-07-15T08:52:34Z")

</div>

Your issue is camera clipping. Near (minZ) is clipping the object. You can play with minZ like in the playground bellow (even though I am not sure it’s smart to use negative minZ value). Maybe it should be better to set minZ = 0, and make sure that you limit zoom to the object, so it cannot come near enough to clip the object.

> **[Babylon.js Playground](https://playground.babylonjs.com/#EBPQH9%2383)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

If you don’t understand what’s camera frustum and clipping planes, you can check this, or read through ton of material on the internet.

> [@Camera goes through the meshs](https://forum.babylonjs.com/t/camera-goes-through-the-meshs/20408/2):
>
> Hi. The situation you are dealing with is connected to the camera frustum, and so called near and far clipping planes. If you worked in any 3D software you would experience same problem for the small object. Basically, your camera near plane is clipping the object. Here you can see the image representation of what I am talking about. You just have to set your near plane, so it doesn’t clip through the object. [https://playground.babylonjs.com/#TIYKC2#2](https://playground.babylonjs.com/#TIYKC2#2) (line 71)

---

_[View the full topic](https://forum.babylonjs.com/t/i-set-all-the-material-to-backfaceculling-false-but-when-i-panning-the-camera-my-meshes-cutting-and-go-to-vanish-how-can-i-solve-this-problem/22362)._
