News for hackers. Stuff that matters.
Re:WebGL: 80,000 particles by zoop on Tuesday May 22, 2012 @01:35PM (#4008864)
While looking pretty, the demo actually is fairly unoptimized. Each draw loop the vertex buffer is rewritten after iterating over and updating each particle's velocity.

Preserving state directly on the GPU makes it so you can get up into the millions of particles (depending on the videocard of course): http://mikecann.co.uk/projects/HaxeWebGLParticles/

There are no comments on this comment yet.