I’ve come up with a different aproach.
Instead of having a single ubershader for all my particles - i opt to pack common techniques, like uv distortion, alpha erosion e.t.c. into small material functions and then build as many shaders as i need from them.
This way i can put together whatever shader i need very fast, and i’m not losing my mind trying to pack everything i could ever need into a single graph
3 Likes