Changeset 175 for trunk/VUT/Ogre/src/OgreVisibilityTerrainSceneManager.cpp
- Timestamp:
- 07/14/05 20:54:07 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/Ogre/src/OgreVisibilityTerrainSceneManager.cpp
r174 r175 240 240 void VisibilityTerrainSceneManager::_renderVisibleObjects() 241 241 { 242 InitDepthPass(); // create material for depth pass 243 InitItemBufferPass(); // create material for item buffer pass 244 242 245 // save ambient light to reset later 243 246 ColourValue savedAmbient = mAmbientLight; … … 629 632 void VisibilityTerrainSceneManager::InitVisibilityCulling(Camera *cam) 630 633 { 631 InitDepthPass(); // create material for depth pass632 InitItemBufferPass(); // create material for item buffer pass633 634 634 // reset culling manager stats 635 635 mVisibilityManager->GetCullingManager()->InitFrame(mVisualizeCulledNodes);
Note: See TracChangeset
for help on using the changeset viewer.