Chailotl / osuve

Open-Source Unity Voxel Engine
GNU General Public License v3.0
46 stars 9 forks source link

Empty chunks should have an air flag #2

Closed Chailotl closed 6 years ago

Chailotl commented 6 years ago

Currently empty chunks use up the same amount of memory as a chunk with any configuration of blocks.

This is wasteful as there are many many chunks that contain only air from the ground level up.

Chailotl commented 6 years ago

Empty chunks no longer use memory.