mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
Force near plane out further for LiSpSM projection
This commit is contained in:
parent
0e481a457e
commit
617473c7da
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user