summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/gameMainWindow.cpp5
-rw-r--r--ui/gameMainWindow.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/ui/gameMainWindow.cpp b/ui/gameMainWindow.cpp
index 7a47a25..0b30cad 100644
--- a/ui/gameMainWindow.cpp
+++ b/ui/gameMainWindow.cpp
@@ -65,3 +65,8 @@ GameMainWindow::lights(const SceneShader & shader) const
{
gameState->world.apply<Renderable>(&Renderable::lights, shader);
}
+void
+GameMainWindow::shadows(const ShadowMapper & shadowMapper) const
+{
+ gameState->world.apply<Renderable>(&Renderable::shadows, shadowMapper);
+}
diff --git a/ui/gameMainWindow.h b/ui/gameMainWindow.h
index f3fc21f..d5bcf41 100644
--- a/ui/gameMainWindow.h
+++ b/ui/gameMainWindow.h
@@ -17,4 +17,5 @@ private:
void content(const SceneShader &) const override;
void environment(const SceneShader &, const SceneRenderer &) const override;
void lights(const SceneShader &) const override;
+ void shadows(const ShadowMapper &) const override;
};