fix: backlight not applied to entities

This commit is contained in:
MihailRis
2024-10-14 09:34:41 +03:00
parent bc24151a63
commit 45a1e1df82
3 changed files with 43 additions and 19 deletions
+2 -1
View File
@@ -55,7 +55,8 @@ WorldRenderer::WorldRenderer(
frustumCulling(std::make_unique<Frustum>()),
lineBatch(std::make_unique<LineBatch>()),
modelBatch(std::make_unique<ModelBatch>(
20'000, engine->getAssets(), level->chunks.get()
20'000, engine->getAssets(), level->chunks.get(),
&engine->getSettings()
)) {
renderer = std::make_unique<ChunksRenderer>(
level, frontend->getContentGfxCache(), &engine->getSettings()