We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0456403 + 47fff7f commit b7a48e1Copy full SHA for b7a48e1
components/sceneutil/shadow.cpp
@@ -104,6 +104,8 @@ namespace SceneUtil
104
("shadowTexture" + std::to_string(i - mShadowSettings->getBaseShadowTextureUnit())).c_str(),
105
static_cast<int>(i)));
106
}
107
+ stateset.addUniform(new osg::Uniform("maximumShadowMapDistance", 0.00001f));
108
+ stateset.addUniform(new osg::Uniform("shadowFadeStart", 0.0f));
109
110
111
ShadowManager::ShadowManager(osg::ref_ptr<osg::Group> sceneRoot, osg::ref_ptr<osg::Group> rootNode,
0 commit comments