Changeset 2475 for GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderTechniques/OgrePathMapRenderTechnique.cpp
- Timestamp:
- 07/02/07 04:12:36 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderTechniques/OgrePathMapRenderTechnique.cpp
r2460 r2475 144 144 LightList lights; 145 145 SceneManager* sm = Root::getSingleton()._getCurrentSceneManager(); 146 sm->_populateLightList(OgreIlluminationManager::getSingleton().getMainCamera()->get Position(), 1000, lights);146 sm->_populateLightList(OgreIlluminationManager::getSingleton().getMainCamera()->getWorldPosition(), 1000, lights); 147 147 148 148 int found = 0; 149 for(int i = 0 ; found < 5&& i < lights.size(); i++)149 for(int i = 0 ; found < 2 && i < lights.size(); i++) 150 150 { 151 151 if(lights.at(i)->isAttached())
Note: See TracChangeset
for help on using the changeset viewer.