anm-ol / sim3d

https://anm-ol.github.io
6 stars 1 forks source link

Batch rendering for particles. #41

Open anm-ol opened 4 months ago

anm-ol commented 4 months ago

Add batch rendering to draw all particles in single draw call. Currently normal data is redundant since vertex position is used as normal. Use custom vertex struct to store data maybe and tidy up renderer