Rendering particles correctly with sprites in a 3D setting

I’m trying to render a particle with a sprite for a 2.5D effect, but using the builtin particle shaders this does not draw the particles based on if they’re in front or behind of the sprite:

Imgur

If I use a shader with just Cutout instead of transparency, this works.

How could I have a particle that supports transparency along with SpriteRenderers? For example would it be possible to write/edit a shader to handle this?

Found the solution, it’s to change the spriteRendering material on the main object to the standard shader and set the rendering mode to transparency, or use any other shader built to be used in 3d.

2 Likes