1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 22:23:51 +00:00

Force near plane out further for LiSpSM projection

This commit is contained in:
AnyOldName3 2017-12-12 18:06:20 +00:00
parent 0e481a457e
commit 617473c7da

View file

@ -211,7 +211,7 @@ namespace MWRender
//settings->setShadowMapProjectionHint(osgShadow::ShadowSettings::PERSPECTIVE_SHADOW_MAP);
settings->setBaseShadowTextureUnit(SceneUtil::MWShadow::baseShadowTextureUnit);
//settings->setMinimumShadowMapNearFarRatio(0);
settings->setMinimumShadowMapNearFarRatio(0.25);
settings->setNumShadowMapsPerLight(SceneUtil::MWShadow::numberOfShadowMapsPerLight);
//settings->setShadowMapProjectionHint(osgShadow::ShadowSettings::ORTHOGRAPHIC_SHADOW_MAP);
//settings->setMultipleShadowMapHint(osgShadow::ShadowSettings::PARALLEL_SPLIT); // ignored