3 ms·
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 https://gpf
by fulafel 9y ago
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 https://gpfault.net/posts/webgl2-particles.txt.html
- sehugg 9y agoLooking at the source, seems they render all the points in software (WASM) to a 2D texture then to the screen.
- pharrington 9y agoThis 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.