# Clipping Plane potential bug

**URL:** <https://forum.babylonjs.com/t/clipping-plane-potential-bug/37851>\
**Category:** Bugs\
**Created:** [February 2, 2023, 9:50am UTC](https://forum.babylonjs.com/t/clipping-plane-potential-bug/37851 "2023-02-02T09:50:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Bozzolan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/daniel_bozzolan/32/6374_2.png) [@Daniel\_Bozzolan](https://forum.babylonjs.com/u/Daniel_Bozzolan)\
**Post date:** [February 2, 2023, 9:50am UTC](https://forum.babylonjs.com/t/clipping-plane-potential-bug/37851/1 "2023-02-02T09:50:12Z")

</div>

Hello everyone, I found a potential bug in clipping planes, I am not sure about, the demo in the documentation con explain it better.

In this page:

> **[Using Clipping Planes | Babylon.js Documentation](https://doc.babylonjs.com/features/featuresDeepDive/scene/clipPlanes)**
>
> Learn all about clipping planes in Babylon.js.

there’s the last demo example that it seems to be broken, the plane should be seen completely and not half:

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

That clipping plane should affect only the sphere, not the entire scene.

Is this a bug?

---

<div class="post-metadata">

**Author:** ![Cedric](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/cedric/32/2742_2.png) [@Cedric](https://forum.babylonjs.com/u/Cedric)\
**Post date:** [February 2, 2023, 9:54am UTC](https://forum.babylonjs.com/t/clipping-plane-potential-bug/37851/2 "2023-02-02T09:54:15Z")

</div>

Looks like a bug, when I change the debug display of the ground, it appears back fully rendered.  
Do you know what can be the cause @Evgeni_Popov ?

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [February 2, 2023, 6:09pm UTC](https://forum.babylonjs.com/t/clipping-plane-potential-bug/37851/3 "2023-02-02T18:09:56Z")

</div>

Assigned @sebavan on February 2, 2023, 6:09pm UTC



---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [February 2, 2023, 10:11pm UTC](https://forum.babylonjs.com/t/clipping-plane-potential-bug/37851/4 "2023-02-02T22:11:12Z")

</div>

Thanks for the report, will be fixed by: [Fix ClipPlane being unset by sebavan · Pull Request #13497 · BabylonJS/Babylon.js · GitHub](https://github.com/BabylonJS/Babylon.js/pull/13497)

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [February 2, 2023, 10:11pm UTC](https://forum.babylonjs.com/t/clipping-plane-potential-bug/37851/5 "2023-02-02T22:11:17Z")

</div>

Unassigned @sebavan on February 2, 2023, 10:11pm UTC


