Niagara particles always rendered behind my mesh. How to fix it ?

Hello, i have this problem with my niagara set up, depending on my view angle, my particles are rendered behing my mesh. Does anyone know how to fix it ?

Hello, my first thought is that there is something inside of either the fire/lava material or the black/void material that’s causing this. - Does it still happen when using different (super simple) materials in either?

It doesn’t happen when I’m using an opaque material it start glitching as soon as I start using transparent or additive material

Someone with more Niagara experience might have a better intuition as to what’s happening, but my troubleshooting approach here would be to try and represent this problem in the simplest way possible to better understand why this is happening at extreme angles.

Is the black shape in the center just a static mesh, or is it being generated by a agglomeration of those small cubes?

If you bring one of those back-ground stones closer, does it also render behind those?

If the lava material is very simple (just a color + translucency) does this still happen?

looks like a z sorting issue. Change the sorting mode in your sprite renderer to see if that works.

Does this actually need transparency? If so, consider using Masked blend mode in your Material Details rather than Translucent. See if that helps. You can use the DitherTemporalAA node in your material to soften the edge of the mask if needed.

1 Like