Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: