Closed afonsolage closed 2 years ago
Implement voxel lighting based on fast flood fill propagation.
Here are two good articles wrote years ago by Benjamim from Seed of Andromeda:
The lighting data should be u8 for start, with 4 bits for natural light (sun/moon) and 4 bits for artificial light (torch/lamps/etc).
u8
Implement voxel lighting based on fast flood fill propagation.
Here are two good articles wrote years ago by Benjamim from Seed of Andromeda:
The lighting data should be
u8
for start, with 4 bits for natural light (sun/moon) and 4 bits for artificial light (torch/lamps/etc).