elm-3d-scene icon indicating copy to clipboard operation
elm-3d-scene copied to clipboard

Support indexed meshes with more than 65536 vertices

Open ianmackenzie opened this issue 3 years ago • 0 comments

WebGL currently only supports indexed meshes with up to 65536 vertices since the indices used are 16 bit integers. It should be possible for elm-3d-scene to break meshes up into smaller individual WebGL meshes on construction to get around this limitation, at the cost of some extra draw calls.

ianmackenzie avatar Oct 04 '20 14:10 ianmackenzie