Ignore:
Timestamp:
07/14/05 20:54:07 (19 years ago)
Author:
mattausch
Message:

added trees

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/Ogre/src/OgreVisibilityTerrainSceneManager.cpp

    r174 r175  
    240240void VisibilityTerrainSceneManager::_renderVisibleObjects() 
    241241{ 
     242        InitDepthPass();          // create material for depth pass 
     243        InitItemBufferPass(); // create material for item buffer pass 
     244 
    242245        // save ambient light to reset later 
    243246        ColourValue savedAmbient = mAmbientLight; 
     
    629632void VisibilityTerrainSceneManager::InitVisibilityCulling(Camera *cam) 
    630633{ 
    631         InitDepthPass();          // create material for depth pass 
    632         InitItemBufferPass(); // create material for item buffer pass 
    633  
    634634        // reset culling manager stats 
    635635        mVisibilityManager->GetCullingManager()->InitFrame(mVisualizeCulledNodes); 
Note: See TracChangeset for help on using the changeset viewer.