mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-31 23:36:41 +00:00
Make shadow maps only cover regions where shadow receivers might be.
This commit is contained in:
parent
b08938485f
commit
4de3a361fb
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ namespace MWRender
|
|||
settings->setNumShadowMapsPerLight(SceneUtil::MWShadow::numberOfShadowMapsPerLight);
|
||||
//settings->setShadowMapProjectionHint(osgShadow::ShadowSettings::ORTHOGRAPHIC_SHADOW_MAP);
|
||||
//settings->setMultipleShadowMapHint(osgShadow::ShadowSettings::PARALLEL_SPLIT); // ignored
|
||||
//settings->setComputeNearFarModeOverride(osg::CullSettings::COMPUTE_NEAR_FAR_USING_PRIMITIVES);
|
||||
settings->setComputeNearFarModeOverride(osg::CullSettings::COMPUTE_NEAR_FAR_USING_PRIMITIVES);
|
||||
//settings->setDebugDraw(true); // don't turn this on because it makes everything break
|
||||
|
||||
//settings->setPerspectiveShadowMapCutOffAngle(0);
|
||||
|
|
Loading…
Reference in a new issue