mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix: ChunksRenderer mostly ignores background workers
This commit is contained in:
parent
bd1ce0fa48
commit
9eb85bd2dd
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ const Mesh<ChunkVertex>* ChunksRenderer::retrieveChunk(
|
|||
);
|
||||
auto mesh = getOrRender(
|
||||
chunk,
|
||||
distance < CHUNK_W * 1.5f * 10.0f,
|
||||
distance < CHUNK_W * 1.5f,
|
||||
distance > CHUNK_W * settings.chunks.loadDistance.get() * 0.5
|
||||
);
|
||||
if (mesh == nullptr) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue