FyroxEngine / Fyrox

3D and 2D game engine written in Rust
https://fyrox.rs
MIT License
7.49k stars 339 forks source link

Particle system rendering refactoring #566

Closed mrDIMAS closed 7 months ago

mrDIMAS commented 7 months ago

This PR refactors particle system rendering to use collect_render_data method of NodeTrait. Previously, each particle system was rendered via separate render pass, which has a lot of downsides. The PR also adds four new built-in shader variables.