SO3Engine
|
SO3DeferredLight.cpp
Go to the documentation of this file.
70 currentDeferredLight = new SDeferredLightDirectional(ogreParentLight, SDeferredLightManager::getSingleton().GetDeferredLightDirectionalMaterialGenerator());
73 currentDeferredLight = new SDeferredLightPoint(ogreParentLight, SDeferredLightManager::getSingleton().GetDeferredLightPointMaterialGenerator());
76 currentDeferredLight = new SDeferredLightSpot(ogreParentLight, SDeferredLightManager::getSingleton().GetDeferredLightSpotMaterialGenerator());
118 sm->getShadowCameraSetup()->getShadowCamera(sm, camera, camera->getViewport(), ogreParentLight, &shadowCam, 0);
120 ogreParentLight->getCustomShadowCameraSetup()->getShadowCamera(sm, camera, camera->getViewport(), ogreParentLight, &shadowCam, 0);
SDeferredLightImpl * currentDeferredLight
Definition SO3DeferredLight.h:52
Ogre::SimpleRenderable * GetRenderable()
Definition SO3DeferredLight.cpp:136
Ogre::Light * ogreParentLight
The light that this SDeferredLight renders.
Definition SO3DeferredLight.h:48
SDeferredLight(Ogre::Light *originalLight)
Definition SO3DeferredLight.cpp:41
void SetDebugRendering(bool enableDebugRendering)
Definition SO3DeferredLight.cpp:147
void UpdateFromCamera(Ogre::Camera *camera)
Definition SO3DeferredLight.cpp:88
bool GetDebugRendering()
Definition SO3DeferredLightImpl.cpp:70
virtual const Ogre::MaterialPtr & getMaterial() const
Definition SO3DeferredLightImpl.cpp:80
void SetDebugRendering(bool enableDebugRendering)
Definition SO3DeferredLightImpl.cpp:75
virtual void RebuildGeometry()=0
virtual void CheckCullingMode(Ogre::Camera *camera, Ogre::Pass *pass)=0
bool GetCastShadows() const
Definition SO3DeferredLightImpl.cpp:60
virtual void SetAttenuation()=0
static SDeferredLightManager & getSingleton()
Definition SO3DeferredLightManager.cpp:61
Definition SO3DataScol.h:38
Generated by 1.9.8