add test model

This commit is contained in:
MihailRis
2024-06-24 01:05:28 +03:00
parent ba458be334
commit 69ddcb7595
6 changed files with 81 additions and 27 deletions
+1 -1
View File
@@ -196,7 +196,7 @@ void WorldRenderer::renderLevel(
drawChunks(level->chunks.get(), camera, shader);
shader->uniformMatrix("u_model", glm::mat4(1.0f));
level->entities->render(assets, *modelBatch);
level->entities->render(assets, *modelBatch, *frustumCulling);
modelBatch->render();
skybox->unbind();