From 3d6a5df643cd2dfebc1491756b093247913126b1 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 28 Dec 2022 15:20:19 +0000 Subject: Change default light direction Just so it shows up more clearly in tests --- gfx/gl/sceneProvider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gfx/gl/sceneProvider.cpp') diff --git a/gfx/gl/sceneProvider.cpp b/gfx/gl/sceneProvider.cpp index 8ff7d73..0163b36 100644 --- a/gfx/gl/sceneProvider.cpp +++ b/gfx/gl/sceneProvider.cpp @@ -5,7 +5,7 @@ void 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}, *this); + renderer.setDirectionalLight({0.6F, 0.6F, 0.6F}, {-1, 1, -1}, *this); } void SceneProvider::shadows(const ShadowMapper &) const -- cgit v1.2.3