Hello guys,
I’m trying to develop an effect using Niagara Fluids 3d Gas sim to create muzzle fire smoke that dissipates. Because I know that computing 3d grid sims in real-time is prohibitive performance-wise, I’ve ‘baked’ the simulation to a sim cache file so that I can later play it using the ‘Set Sim Cache’ BP node as seen in this screenshot.
The smoke sim developed in Niagara uses all the base quality settings (200 resolution). Anything less than the defaults and the sim loses too much quality. The animation is roughly over 200 frames.
So when I play back the cached effect on a 4080 in a empty scene, my framerate drops from ~110 to ~50!!! With profile GPU, it consumes 6 miliseconds, while not even featuring the effect close to the camera. That’s a massive drop!
I just can’t think of a single use of 3d grid gas sims for gaming if they have this kind of performance cost. What might I be doing wrong?
PS: When I do my profiling, the 6 ms appears under ‘HeterogeneusVolumes’, which I assume is the subproduct of the sim cache.