Particle system: custom bounding box (AABB)

Hi here!
I have to make a particle system position & vertex animation (shader).

Basically everything is fine with an animation of particles, BUT I have a huge problem with the bounding culling system.

Since the particles move far from their original positions, the built-in bounding system doesn’t work at all.
Everything would be amazing if I would be able just set my own fixed bounding box for particle system.
I need just set static AABB and nothing more.

Is it possible???

PS: If no: unity guys, would you be able to introduce such a cool feature for particle system?

You can force the bounds to be bigger by adding additional particles that are very far apart. For example one at 10,000, 10,000, 10,000 and one at -10,000, -10,000, -10,000. We currently dont have any plans to support custom bounds although I believe this is possible with the VFX system.

At least I can see particles all the time XD
I am not an AABB expert, is it possible to override particle AABB and activate/deactivate gameObject if it’s visible/invisible? Or maybe somehow to add my own culling system?

You could try this https://blogs.unity3d.com/2016/12/20/unitytips-particlesystem-performance-culling/

Thank you! It was helpful!

2 Likes