mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-08 09:37:53 +00:00
changed fog configuration to more sensible default values
This commit is contained in:
parent
264bab806b
commit
847ef6df5d
@ -142,8 +142,8 @@ void InteriorCellRender::configureFog()
|
|||||||
Ogre::ColourValue color;
|
Ogre::ColourValue color;
|
||||||
color.setAsRGBA (cell.cell->ambi.fog);
|
color.setAsRGBA (cell.cell->ambi.fog);
|
||||||
|
|
||||||
float high = 1000;
|
float high = 10000;
|
||||||
float low = 100;
|
float low = 8000;
|
||||||
|
|
||||||
scene.getMgr()->setFog (FOG_LINEAR, color, 0, low, high);
|
scene.getMgr()->setFog (FOG_LINEAR, color, 0, low, high);
|
||||||
scene.getCamera()->setFarClipDistance (high + 10);
|
scene.getCamera()->setFarClipDistance (high + 10);
|
||||||
|
Loading…
Reference in New Issue
Block a user