joshmarinacci / voxeljs-next

The next generation of Voxel JS
https://vr.josh.earth/voxeljs-next/examples/ecsy.html
BSD 3-Clause "New" or "Revised" License
147 stars 20 forks source link

skip rendering empty chunks #29

Open joshmarinacci opened 5 years ago

joshmarinacci commented 5 years ago

many chunks in a typical landscape are pure air. these should be marked as empty somewhere on the chunk object, then skip adding the mesh to ThreeJS.

We should create a test case to prove this is really faster.