🎆 CPU-driven, batch-rendered particle system for the Bevy game engine.
APACHE-2.0 License
Bevy firework is a particle system plugin where particles are simulated on the CPU and use GPU batching for rendering. This allows each particle system to be rendered in a single draw call (rather than one per particle).
While not as fast as a pure GPU-based particle system, this provides a massive speed-up from the naive approach to CPU-based particles (making it possible to render tens of thousands of particles without noticeable framerate drops) and maintains much of the flexibility of CPU-based particle systems (e.g. easy access to physics data for particle collision, simplified particle system animation).
avian
colliders.bevy_firework |
bevy |
bevy_utilitarian |
---|---|---|
0.1 | 0.12 | 0.2 |
0.2 | 0.12 | 0.3 |
0.3 | 0.13 | 0.4 |
0.4 | 0.14 | 0.5 |
0.5 | 0.14 | 0.5 |