mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add ModelBatch pseudo-lights
This commit is contained in:
parent
6d6313cd10
commit
3d2deaf369
3 changed files with 16 additions and 6 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue