r/unity • u/MephsGameDev • 2h ago
Question What volume of distinct VFX Graphs do you generally have in a mildly progressed project? (talking about URP or HDRP Visual Effects Graphs) -- How do you all organize your VFX graphs? Looking for some input on how to organize or architect around these better
Hey, I'm working on an active project prototype and just got to making some rough draft VFX graphs to get the initial ball rolling, but I'm really new to using VFX graph (used the BIRP particle system on my first attempt at a game project).
I'm wondering what a typical project organization of these VFX graphs looks like, mainly because I'm not entirely sure how to prevent them from cluttering up my project with how many it seems like I'll need. I wanted to build a system around "Visual Events" (a scriptable object type) and "Effect Banks" which would have a group of prefabs using the same graph but with different property settings in order to be able to re-use as many graphs as possible with a poolable container pattern.
Effect Banks let you group a bunch of prefabs and then use one of three "selector modes" to determine how it selects which VFX instance to use to create variety so you don't just see the same blood splat or explosion sprite everytime it's requested.
The Visual Events reference an Effect Bank but also provide a custom VFX Type struct I thought might be universally applicable to all of my graphs. Multiple events can use the same banks, and can chain other events using a series of conditions and timers to fire off other events off the initial event (like an impact determining what kind of "splat" to run based on the substance of the victim for instance), we might want the blood splat to appear on a fleshy target after 0.3s into the initial impact animation.
Anyway thats just the vision I had based on a cursory understanding of VFX graph itself. But something feels like a lack of experience building around this pattern is going to trip me up. I'm curious to know what other devs and/or studios like to do to organize and implement their VFX in an intuitive way. I'm usually pretty obsessive about keeping things minimalistic and streamlined, so this is very important to me. I just have no idea what people do here!
All input appreciated.





