btipling / blockens

blockens with zig
MIT License
15 stars 0 forks source link

Investigate single buffer draws using glMultieDrawElements #17

Closed btipling closed 5 months ago

btipling commented 6 months ago

https://registry.khronos.org/OpenGL-Refpages/gl4/html/glMultiDrawElementsIndirect.xhtml

when anything updates, update a sub portion of the buffer

Hestia uses it for their MC client

i store the coordinates of each section at the beginning of each segment's allocation, then access that with gl_BaseVertex

https://discord.com/channels/605571803288698900/634812978994085888/1214279871916806204

btipling commented 5 months ago

This is done.