Use JDGBOLT's indoor 'sun' direction.

pull/1547/head
AnyOldName3 7 years ago
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…
Cancel
Save