leod / rendology

Glium-based 3D rendering pipeline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clearing particles does not always work

leod opened this issue · comments

commented

Right now, ParticleSystem::clear simply sets the max_death_time of all buffers to zero, but does not actually modify the buffers. If a buffer contains a particle, it may be reactivated when that buffer is filled with a new particle.