particle-engine

XNA - Creating a lot of particles at the same time

一曲冷凌霜 提交于 2019-12-19 03:12:29
问题 time for another XNA question. This time it is purely from a technical design standpoint though. My situation is this: I've created a particle-engine based on GPU-calculations, far from complete but it works. My GPU easily handles 10k particles without breaking a sweat and I wouldn't be surprised if I could add a bunch more. My problem: Whenever I have a lot of particles created at the same time, my frame rate hates me. Why? A lot of CPU-usage, even though I have minimized it to contain