How to render exact amount of particles

From the chat:
When taking the Example GPU Particle Systems patch and setting the particle count to 5 for example, only 3 particles get rendered.

Removed the quantization and added :

if (id > ParticlesCount)
            return;

Still only 3 get rendered. Modified patch / shaders attached.

ExactParticleAmount.7z (12.5 KB)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.