From f43b88dfe55d107541562da04117e2929a89d3f2 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 27 Nov 2022 13:09:34 +0000 Subject: Split SceneProvider out --- gfx/gl/sceneRenderer.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'gfx/gl/sceneRenderer.cpp') diff --git a/gfx/gl/sceneRenderer.cpp b/gfx/gl/sceneRenderer.cpp index a97387e..a06a163 100644 --- a/gfx/gl/sceneRenderer.cpp +++ b/gfx/gl/sceneRenderer.cpp @@ -131,10 +131,3 @@ SceneRenderer::DirectionalLightProgram::setDirectionalLight(const glm::vec3 & c, const auto nd = glm::normalize(d); glUniform3fv(directionLoc, 1, glm::value_ptr(nd)); } - -void -SceneRenderer::SceneProvider::environment(const SceneShader &, const SceneRenderer & renderer) const -{ - renderer.setAmbientLight({0.5F, 0.5F, 0.5F}); - renderer.setDirectionalLight({0.6F, 0.6F, 0.6F}, {1, 0, -1}); -} -- cgit v1.2.3