mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
Use JDGBOLT's indoor 'sun' direction.
This commit is contained in:
parent
a2b54714d4
commit
1e48114492
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user