Restore previous night time directional light path

pull/541/head
AnyOldName3 6 years ago
parent 9b92943d1a
commit b1a5a72665

@ -739,7 +739,7 @@ void WeatherManager::update(float duration, bool paused, const TimeStamp& time,
}
else
{
theta = static_cast<float>(osg::PI) + static_cast<float>(osg::PI) * (adjustedHour - adjustedNightStart) / nightDuration;
theta = static_cast<float>(osg::PI) - static_cast<float>(osg::PI) * (adjustedHour - adjustedNightStart) / nightDuration;
}
osg::Vec3f final(

Loading…
Cancel
Save