Fixed lighting artifacts, improved chunks loading speed

- No more dark lines while loading chunks
- Less lighting recalculations
- Less chunks mesh rebuilding
This commit is contained in:
MihailRis
2022-03-06 01:20:51 +03:00
committed by GitHub
parent 10125808c0
commit 30c2d9889e
4 changed files with 19 additions and 42 deletions
+1 -2
View File
@@ -16,8 +16,7 @@ public:
Lightmap* lightmap;
bool modified = true;
bool ready = false;
bool accepted = false;
bool generated = false;
bool loaded = false;
int references = 1;
Chunk(int x, int y, int z);
~Chunk();