add ModelBatch pseudo-lights

This commit is contained in:
MihailRis
2024-06-20 20:15:03 +03:00
parent 6d6313cd10
commit 3d2deaf369
3 changed files with 16 additions and 6 deletions
+1
View File
@@ -193,6 +193,7 @@ void WorldRenderer::renderLevel(
drawChunks(level->chunks.get(), camera, shader);
assets->getTexture("gui/menubg")->bind();
shader->uniformMatrix("u_model", glm::mat4(1.0f));
modelBatch->test(glm::vec3(0, 68, 0), glm::vec3(1.0f));
modelBatch->flush();