Particles top of 2d GUI

Hi, is there any way to show particles on top of the Babylon.js 2D GUI?

I’m trying to create something like this:
Can Smash - Design (2)

In this example, I want to show the particle on top of the rectangle

Hi!
Set to false:

That puts the entire gui in the background :sweat_smile:

@Reza_B that effect in the sample is mostlikely a sprite animation :thinking:

1 Like

That is what the OP wants. Look at the screenshot. Particles on top of everything.


Exactly @aWeirdo , in this case I can use sprite animation but I want a General solution for this type of requests

Thank you, @Roland. But in this case, it won’t work because all of the UI elements go beyond the 3D objects of the gameplay.
I want to just create a particle system on top of the 2D GUI, not other 3D objects.

@aWeirdo f*ck! :smiley:

@Reza_B then use https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#texture-mode

Put yor UI on a plane. You can then control it’s position.z or renderingGroupId to maintain the desired order.

1 Like

Should be possible to do with a separate camera and playing around with layerMask too i believe… i’m from my phone so i can’t help more atm :smile:

1 Like