maxmmyron / voxel

1 stars 0 forks source link

improve chunk mesh algorithm #11

Closed maxmmyron closed 2 years ago

maxmmyron commented 2 years ago

chunk mesh algorithm can be improved by only storing vertices visible from the outside. This should also make it less likely for the 65536 vertices limit to be hit. voxels completely inside of the mesh can be discarded entirely.