diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-12-28 15:20:19 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-12-28 15:20:19 +0000 |
commit | 3d6a5df643cd2dfebc1491756b093247913126b1 (patch) | |
tree | b7aff02ed40a0c84e373e5d2dec4b74716a9cea2 /gfx/gl/sceneProvider.cpp | |
parent | Setup GL context before doing any shadow render work (diff) | |
download | ilt-3d6a5df643cd2dfebc1491756b093247913126b1.tar.bz2 ilt-3d6a5df643cd2dfebc1491756b093247913126b1.tar.xz ilt-3d6a5df643cd2dfebc1491756b093247913126b1.zip |
Change default light direction
Just so it shows up more clearly in tests
Diffstat (limited to 'gfx/gl/sceneProvider.cpp')
-rw-r--r-- | gfx/gl/sceneProvider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |