mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 23:23:52 +00:00
Handle light linear/quadratic settings
This commit is contained in:
parent
564256c4e1
commit
c5f0556451
1 changed files with 3 additions and 8 deletions
|
@ -271,16 +271,11 @@ void Objects::insertLight (const MWWorld::Ptr& ptr, Ogre::Entity* skelBase, Ogre
|
|||
info.time = Ogre::Math::RangeRandom(-500, +500);
|
||||
info.phase = Ogre::Math::RangeRandom(-500, +500);
|
||||
|
||||
// changed to linear to look like morrowind
|
||||
bool quadratic = false;
|
||||
/*
|
||||
if (!lightOutQuadInLin)
|
||||
quadratic = lightQuadratic;
|
||||
bool quadratic;
|
||||
if (!lightOutQuadInLin())
|
||||
quadratic = lightQuadratic();
|
||||
else
|
||||
{
|
||||
quadratic = !info.interior;
|
||||
}
|
||||
*/
|
||||
|
||||
if (!quadratic)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue