20 Ogre::FocusedShadowCameraSetup* shadowCameraSetup =
new Ogre::FocusedShadowCameraSetup();
31 ogreScene->setShadowTextureSelfShadow(
true);
32 ogreScene->setShadowCasterRenderBackFaces(
false);
36 ogreScene->setShadowTextureCasterMaterial(
"SO3/Deferred/Shadows/Caster");
37 ogreScene->setShadowTextureReceiverMaterial(
"");
41 Ogre::Pass* deferredCasterPass = passCaterMaterial->getTechnique(0)->getPass(0);
42 deferredCasterPass->setFog(
true);