Hi, is there any way to show particles on top of the Babylon.js 2D GUI?
I’m trying to create something like this:

In this example, I want to show the particle on top of the rectangle
Hi, is there any way to show particles on top of the Babylon.js 2D GUI?
I’m trying to create something like this:

In this example, I want to show the particle on top of the rectangle
That puts the entire gui in the background ![]()
@Reza_B that effect in the sample is mostlikely a sprite animation ![]()
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! ![]()
@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.
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 ![]()