summaryrefslogtreecommitdiff
path: root/ui/sceneRenderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/sceneRenderer.cpp')
-rw-r--r--ui/sceneRenderer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/sceneRenderer.cpp b/ui/sceneRenderer.cpp
index dc8e440..a97387e 100644
--- a/ui/sceneRenderer.cpp
+++ b/ui/sceneRenderer.cpp
@@ -79,6 +79,7 @@ SceneRenderer::render(const SceneProvider & scene) const
glActiveTexture(GL_TEXTURE1);
glBindTexture(GL_TEXTURE_2D, gNormal);
scene.environment(shader, *this);
+ scene.lights(shader);
// Lighting pass
glBindFramebuffer(GL_FRAMEBUFFER, output);