Chailotl / osuve

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

Column system #10

Closed Chailotl closed 6 years ago

Chailotl commented 6 years ago

Due to the decision of using a cubic chunk system over Minecraft's columnar chunk system, a new set of pros and cons have been presented. Among those include determining whether a block is exposed to the sun given the infiniteness in height.

A proposed "column system" similar to the chunk system where each x/z grid is given a column that store important data, such as the y position of the highest block in each local x/z coordinate so as to assist with sunlight lighting. Each column will encompass all chunks along the y axis per x/z grid.

Chailotl commented 6 years ago

Column system implemented, if albeit partially!