WebGLSamples / WebGL2Samples

Short and easy to understand samples demonstrating WebGL 2 features
Other
1.01k stars 143 forks source link

transform feedback + instanced #149

Closed shrekshao closed 7 years ago

shrekshao commented 7 years ago

Based on Tarek's #148. Transform feedback is used to simulate the randomly wandering behavior of the agents. DrawInstance is used to draw the geometry of the agents (triangle) efficiently.

shrekshao commented 7 years ago

Fix the comment based on Tarek's suggestion