elm-explorations / webgl

Functional rendering with WebGL in Elm
https://package.elm-lang.org/packages/elm-explorations/webgl/latest/
BSD 3-Clause "New" or "Revised" License
117 stars 17 forks source link

Enable OES_element_index_uint #35

Closed ianmackenzie closed 3 years ago

ianmackenzie commented 4 years ago

The OES_element_index_uint extension is listed as a "universally supported extension", and enabling it should allow elm-explorations/webgl to support indexed meshes with a basically unlimited number of vertices (theoretically billions instead of the current 65536 vertex limit).

This will also require updating the JS code to use Uint32Array instead of Uint16Array.