diff options
Diffstat (limited to 'src/Render.cpp')
-rw-r--r-- | src/Render.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Render.cpp b/src/Render.cpp index 96c1ed8..48114b0 100644 --- a/src/Render.cpp +++ b/src/Render.cpp @@ -209,8 +209,10 @@ void Render::RenderFrame() { if (isWireframe) Gal::GetImplementation()->SetWireframe(true); - if (renderWorld) + if (renderWorld) { world->Render(static_cast<float>(windowWidth) / static_cast<float>(windowHeight)); + gbuffer->SetDayTime(world->shaderDayTime); + } if (isWireframe) Gal::GetImplementation()->SetWireframe(false); |