mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
add test model
This commit is contained in:
parent
ba458be334
commit
69ddcb7595
6 changed files with 81 additions and 27 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue