SO3Engine
|
SO3ShadowStencil.cpp
Go to the documentation of this file.
17SShadowStencil::SShadowStencil(SShadowManager* sManager) : SShadow(sManager, "Stencil", SShadowManager::SO3_SHADOWS_STENCIL)
19 const Ogre::RenderSystemCapabilities* caps = SRoot::getSingleton().GetOgreRenderSystem()->getCapabilities();
23 Ogre::MaterialPtr mcaster = Ogre::MaterialManager::getSingleton().getByName("Ogre/StencilShadowVolumes");
28 Ogre::ShadowTechnique newTechnique = static_cast <Ogre::ShadowTechnique> (Ogre::SHADOWDETAILTYPE_STENCIL | shadowManager->GetLightingTechnique());
47 const Ogre::RenderSystemCapabilities* caps = SRoot::getSingleton().GetOgreRenderSystem()->getCapabilities();
50 Ogre::ShadowTechnique newTechnique = static_cast <Ogre::ShadowTechnique> (Ogre::SHADOWDETAILTYPE_STENCIL | shadowManager->GetLightingTechnique());
Definition SO3Shadow.h:70
Definition SO3ShadowManager.h:43
ShadowLightingType GetLightingTechnique()
Definition SO3ShadowManager.cpp:76
virtual void UpdateShadowTechnique()
Definition SO3ShadowStencil.cpp:45
Abstract class defining a shadow rendering technique. .
Definition SO3DataScol.h:38
Generated by 1.9.8