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

This is webgl 1 I guess? WebGL 2 has some nice particle suited features like transform feedback: https://gpfault.net/posts/webgl2-particles.txt.html


Looking at the source, seems they render all the points in software (WASM) to a 2D texture then to the screen.


This isn't a guide for implementing an actual modern particle system, but rather the author's learning project/proof-of-concept for WebAssembly. The presented effect itself trivially translates to a fragment shader.




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

Search: