# Set the particle transparency layer higher than the node material.s

**URL:** <https://forum.babylonjs.com/t/set-the-particle-transparency-layer-higher-than-the-node-material-s/60943>\
**Category:** Questions\
**Tags:** material\
**Created:** [October 14, 2025, 6:20am UTC](https://forum.babylonjs.com/t/set-the-particle-transparency-layer-higher-than-the-node-material-s/60943 "2025-10-14T06:20:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![lxq100](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/lxq100/32/43689_2.png) [@lxq100](https://forum.babylonjs.com/u/lxq100)\
**Post date:** [October 14, 2025, 6:20am UTC](https://forum.babylonjs.com/t/set-the-particle-transparency-layer-higher-than-the-node-material-s/60943/1 "2025-10-14T06:20:16Z")

</div>

I need help!  
I want to set the particle layer hierarchy higher than the node material of the ground, and ensure that particles emitted by the sphere do not extend beyond the box model when viewed from the side.

PG: [Babylon.js Playground](https://playground.babylonjs.com/#XNE9KZ)

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [October 14, 2025, 7:35am UTC](https://forum.babylonjs.com/t/set-the-particle-transparency-layer-higher-than-the-node-material-s/60943/2 "2025-10-14T07:35:15Z")

</div>

I think your PG doesn’t work as expected. I get these messages in the console log:

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/8/2/8248877f7ac66b86ce4b3cce0c05d6de0d34b77b.png)

---

<div class="post-metadata">

**Author:** ![lxq100](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/lxq100/32/43689_2.png) [@lxq100](https://forum.babylonjs.com/u/lxq100)\
**Post date:** [October 14, 2025, 9:27am UTC](https://forum.babylonjs.com/t/set-the-particle-transparency-layer-higher-than-the-node-material-s/60943/4 "2025-10-14T09:27:05Z")

</div>

help look this  
PG:

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

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [October 14, 2025, 9:46am UTC](https://forum.babylonjs.com/t/set-the-particle-transparency-layer-higher-than-the-node-material-s/60943/5 "2025-10-14T09:46:29Z")

</div>

When viewed from the side, the particles are inside the box for me:

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/2/9/29b058d59d27c7a5072801568c9897687c5ece48.jpeg)

---

<div class="post-metadata">

**Author:** ![lxq100](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/lxq100/32/43689_2.png) [@lxq100](https://forum.babylonjs.com/u/lxq100)\
**Post date:** [October 15, 2025, 2:34am UTC](https://forum.babylonjs.com/t/set-the-particle-transparency-layer-higher-than-the-node-material-s/60943/6 "2025-10-15T02:34:41Z")

</div>

![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/9/4/944d38cb033f8022bcb04fa64c01cd9c40cd4245.png)  
From this perspective, the particle layer should logically have a higher priority than the node material layer. However, the particles are being overridden by the node material applied to the water surface. How should I configure the settings to ensure they display correctly?

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [October 15, 2025, 7:39am UTC](https://forum.babylonjs.com/t/set-the-particle-transparency-layer-higher-than-the-node-material-s/60943/7 "2025-10-15T07:39:06Z")

</div>

I think what you want is to set `renderingGroupId` to 1 for the particle system, and disable the clearing of the depth buffer for group 1 (see lines 169-171) so that the particle system is correctly clipped by the box when necessary:

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