removed 2 unneeded lines

actorid
scrawl 13 years ago
parent e2ec889d10
commit fb78e853d4

@ -55,9 +55,7 @@ void Shadows::recreate()
mSceneMgr->setShadowCasterRenderBackFaces(true);
mSceneMgr->setShadowTextureCasterMaterial("depth_shadow_caster");
mSceneMgr->setShadowTexturePixelFormat(PF_FLOAT32_R);
mSceneMgr->setShadowDirLightTextureOffset(0.9);
mSceneMgr->setShadowDirectionalLightExtrusionDistance(1000000);
mSceneMgr->setShowDebugShadows(true);
mShadowFar = split ? Settings::Manager::getInt("split shadow distance", "Shadows") : Settings::Manager::getInt("shadow distance", "Shadows");
mSceneMgr->setShadowFarDistance(mShadowFar);

Loading…
Cancel
Save