# Node material not being reflected correctly on mirror texture

**URL:** <https://forum.babylonjs.com/t/node-material-not-being-reflected-correctly-on-mirror-texture/55890>\
**Category:** Questions\
**Tags:** nodematerial, node-material, mirror\
**Created:** [January 10, 2025, 11:40am UTC](https://forum.babylonjs.com/t/node-material-not-being-reflected-correctly-on-mirror-texture/55890 "2025-01-10T11:40:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fuyutami](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/fuyutami/32/49210_2.png) [@fuyutami](https://forum.babylonjs.com/u/fuyutami)\
**Post date:** [January 10, 2025, 11:40am UTC](https://forum.babylonjs.com/t/node-material-not-being-reflected-correctly-on-mirror-texture/55890/1 "2025-01-10T11:40:38Z")

</div>

Hello,  
I’m having trouble reflecting any node material on a mirror texture.  
It is fine when the object is in front of a mirror, but when it gets behind, or starts intersecting, it creates a weird ghost effect.

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

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [January 10, 2025, 2:08pm UTC](https://forum.babylonjs.com/t/node-material-not-being-reflected-correctly-on-mirror-texture/55890/2 "2025-01-10T14:08:27Z")

</div>

Hello and welcome!

You need to add the `ClipPlanes` node to get the mirror working correctly:

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

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/7/b/7ba0bf57dc45c17da83deb550ce09837ca5afee8.jpeg)

---

<div class="post-metadata">

**Author:** ![fuyutami](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/fuyutami/32/49210_2.png) [@fuyutami](https://forum.babylonjs.com/u/fuyutami)\
**Post date:** [January 10, 2025, 2:38pm UTC](https://forum.babylonjs.com/t/node-material-not-being-reflected-correctly-on-mirror-texture/55890/3 "2025-01-10T14:38:46Z")

</div>

Thank you! That solves it.

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [January 10, 2025, 9:32pm UTC](https://forum.babylonjs.com/t/node-material-not-being-reflected-correctly-on-mirror-texture/55890/4 "2025-01-10T21:32:01Z")

</div>

You my friend are a good person! thanks for being so helpful with the community!

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [January 10, 2025, 10:57pm UTC](https://forum.babylonjs.com/t/node-material-not-being-reflected-correctly-on-mirror-texture/55890/5 "2025-01-10T22:57:53Z")

</div>

Happy to be here with you and the others!

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [January 10, 2025, 11:05pm UTC](https://forum.babylonjs.com/t/node-material-not-being-reflected-correctly-on-mirror-texture/55890/6 "2025-01-10T23:05:09Z")

</div>

@Deltakosh

> Master, everything I have accomplished, every shadow I command, and every world that kneels before us… it is all because of you.

> You lit the spark that ignited the babylon.js inferno, and for that, I am eternally in your debt. Your vision set this in motion, and I will see it fulfilled—to honor you, and to show the galaxy the might of 3D graphics you revealed to me.
