I feel it would be a neat trick to get particles to render together like a single layer
what we can do is on the left, what I like is on the right - has anyone asked this before?
once assembled in a sort order (youngest first) the shader (animated per emitter) alpha’s the entire system out.
it’s outside my scope, I goofed with shaders but just trial and error…I guess if they were alpha cutout but rendered front to back in 1 pass like geo, then alpha in a second for blending? does that seem right?
Doesn’t need two passes. If you render with one pass using discard or clip() and outputting an alpha you can get this kind of effect. The main issue will be draw order. For Unity if you use sort by distance and set the material to use an alpha test queue (like 2499) it’ll sort front to back. You could also use a stencil.
It looks like Unity always sorts particles as if they’re transparent, which means the single pass stencil or depth method will always be a little weird. Stencil will ensure a single “layer”, but not the correct sorting. Single pass depth won’t work at all.
However you can always do the old pre pass z write method.
The big thing Nintendo has going for it with their effects is absolute control over how things are rendered. I’m pretty sure they’re using stencils to do this effect on the GCN, but for it to work properly it requires front to back opaque sorting order. Since Unity doesn’t appear to do this with particles even when using an opaque shader the order will always be off and you’re left with the two pass depth method. If you could sort front to back you could use the single pass stencil method that I suspect they used and get proper depth sorting and the single layer look.