mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-04 05:11:38 +00:00
Merge branch 'disable-shadows-even-harder' into 'master'
Disable shadows even harder Closes #8514 See merge request OpenMW/openmw!4686
This commit is contained in:
commit
b7a48e1d78
1 changed files with 2 additions and 0 deletions
|
@ -104,6 +104,8 @@ namespace SceneUtil
|
|||
("shadowTexture" + std::to_string(i - mShadowSettings->getBaseShadowTextureUnit())).c_str(),
|
||||
static_cast<int>(i)));
|
||||
}
|
||||
stateset.addUniform(new osg::Uniform("maximumShadowMapDistance", 0.00001f));
|
||||
stateset.addUniform(new osg::Uniform("shadowFadeStart", 0.0f));
|
||||
}
|
||||
|
||||
ShadowManager::ShadowManager(osg::ref_ptr<osg::Group> sceneRoot, osg::ref_ptr<osg::Group> rootNode,
|
||||
|
|
Loading…
Reference in a new issue