# needAlphaBlending with ShaderMaterial disabling depth test

**URL:** <https://forum.babylonjs.com/t/needalphablending-with-shadermaterial-disabling-depth-test/13275>\
**Category:** Questions\
**Tags:** shader\
**Created:** [August 11, 2020, 7:42am UTC](https://forum.babylonjs.com/t/needalphablending-with-shadermaterial-disabling-depth-test/13275 "2020-08-11T07:42:32Z")\
**Posts on this page:** 1\
**Showing post:** 14

<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:** [August 13, 2020, 8:19am UTC](https://forum.babylonjs.com/t/needalphablending-with-shadermaterial-disabling-depth-test/13275/14 "2020-08-13T08:19:57Z")

</div>

No, they will still be rendered after the particle system. The rendering order is fixed, as described in [https://doc.babylonjs.com/resources/transparency\_and\_how\_meshes\_are\_rendered#general-order](https://doc.babylonjs.com/resources/transparency_and_how_meshes_are_rendered#general-order)

Use the `renderingGroupId` property of the particle system to make it render after the alpha blended mesh:

> [@ParticleSystem and alphaIndex](https://forum.babylonjs.com/t/particlesystem-and-alphaindex/10947/2):
>
> Hi and welcome aboard! Use the renderingGroupId property to render the particle system after the meshes: [https://www.babylonjs-playground.com/#0AGXE8#16](https://www.babylonjs-playground.com/#0AGXE8#16) The doc is wrong in this regard, I’m going to update it.

---

_[View the full topic](https://forum.babylonjs.com/t/needalphablending-with-shadermaterial-disabling-depth-test/13275)._
