1
0
Fork 0
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:
psi29a 2025-05-20 14:12:57 +00:00
commit b7a48e1d78

View file

@ -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,