mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix: backlight not applied to entities
This commit is contained in:
parent
bc24151a63
commit
45a1e1df82
3 changed files with 43 additions and 19 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue