Ignore:
Timestamp:
07/02/07 04:12:36 (17 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderTechniques/OgrePathMapRenderTechnique.cpp

    r2460 r2475  
    144144        LightList lights; 
    145145        SceneManager* sm = Root::getSingleton()._getCurrentSceneManager(); 
    146         sm->_populateLightList(OgreIlluminationManager::getSingleton().getMainCamera()->getPosition(), 1000, lights); 
     146        sm->_populateLightList(OgreIlluminationManager::getSingleton().getMainCamera()->getWorldPosition(), 1000, lights); 
    147147 
    148148        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++) 
    150150        { 
    151151                if(lights.at(i)->isAttached()) 
Note: See TracChangeset for help on using the changeset viewer.