mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-27 21:35:24 +00:00
Make RenderingManager::configureAmbient do what it was intended to.
This commit is contained in:
parent
4acd9228ee
commit
d6a7aec971
@ -416,7 +416,7 @@ namespace MWRender
|
||||
osg::Vec4f diffuse = SceneUtil::colourFromRGB(cell->mAmbi.mSunlight);
|
||||
mSunLight->setDiffuse(diffuse);
|
||||
mSunLight->setSpecular(diffuse);
|
||||
mSunLight->setDirection(osg::Vec3f(1.f,-1.f,-1.f));
|
||||
mSunLight->setPosition(osg::Vec4f(-1.f, 1.f, 1.f, 0.f));
|
||||
}
|
||||
|
||||
void RenderingManager::setSunColour(const osg::Vec4f& diffuse, const osg::Vec4f& specular)
|
||||
|
Loading…
x
Reference in New Issue
Block a user