From 1e48114492a1c69740879f1120d2d8df7947825d Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Wed, 8 Aug 2018 23:30:33 +0100 Subject: [PATCH] Use JDGBOLT's indoor 'sun' direction. --- apps/openmw/mwrender/renderingmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwrender/renderingmanager.cpp b/apps/openmw/mwrender/renderingmanager.cpp index 410157d80..1b17ce4ea 100644 --- a/apps/openmw/mwrender/renderingmanager.cpp +++ b/apps/openmw/mwrender/renderingmanager.cpp @@ -453,7 +453,7 @@ namespace MWRender osg::Vec4f diffuse = SceneUtil::colourFromRGB(cell->mAmbi.mSunlight); mSunLight->setDiffuse(diffuse); mSunLight->setSpecular(diffuse); - mSunLight->setPosition(osg::Vec4f(-1.f, 1.f, 1.f, 0.f)); + mSunLight->setPosition(osg::Vec4f(-0.15f, 0.15f, 1.f, 0.f)); } void RenderingManager::setSunColour(const osg::Vec4f& diffuse, const osg::Vec4f& specular)