afonsolage / projekto

Voxel game made with Bevy Engine
MIT License
59 stars 4 forks source link

Caching meshes #7

Closed afonsolage closed 2 years ago

afonsolage commented 2 years ago

Currently most of the processing time is spent on either loading chunk or computing meshes. It's possible to pre process a lot of chunks in background, so loading isn't a problem at all, but computing meshes is, so I should try to cache FacesVertex for each chunk, so when loading a chunk, we just compute the mesh from it: It'll be a lot faster!

afonsolage commented 2 years ago

Done in #22