Optimized lighting, frustum culling, generator

- Extended CHUNK_H to 256
- Modified world generator for new world height
- Added simple 2d frustum culling
- Optimized sky lighting calculations
This commit is contained in:
MihailRis
2021-09-17 19:15:14 +03:00
committed by GitHub
parent a11ab33115
commit 01c6c854e1
5 changed files with 64 additions and 18 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
#define VOXELS_CHUNK_H_
#define CHUNK_W 16
#define CHUNK_H 64
#define CHUNK_H 256
#define CHUNK_D 16
#define CHUNK_VOL (CHUNK_W * CHUNK_H * CHUNK_D)