GardensOfKadesh / Homeworld

Gardens of Kadesh: A WebAssembly port of Homeworld.
Other
60 stars 11 forks source link

Improve rendering performance #12

Open rbrune opened 2 years ago

rbrune commented 2 years ago

Rendering ships with MeshObjectRender() is still the performance bottleneck despite using buffers. The buffers are regenerated on every frame which is definitely far from ideal. Cache and reuse the buffers as much as possible.