Ignore:
Timestamp:
05/18/05 02:06:32 (20 years ago)
Author:
mattausch
Message:

fixed bug with shadow maps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/work/ogre_changes/Plugins/OctreeSceneManager/src/OgreOctreeSceneManager.cpp

    r99 r103  
    11681168#ifdef GTP_VISIBILITY_MODIFIED_OGRE 
    11691169//----------------------------------------------------------------------- 
    1170 void OctreeSceneManager::_renderOctant(Camera *cam, Octree *octant) 
     1170void OctreeSceneManager::_renderOctant(Camera *cam, Octree *octant, bool onlyShadowCasters) 
    11711171{ 
    11721172        //Add stuff to be rendered; 
     
    11821182                if (cam->isVisible(sn->_getWorldAABB())) 
    11831183                { 
    1184                         sn->_addToRenderQueue(cam, getRenderQueue(), false); 
     1184                        sn->_addToRenderQueue(cam, getRenderQueue(), onlyShadowCasters); 
    11851185                        //node->_findVisibleObjects(cam, getRenderQueue(), false, mDisplayNodes, false); 
    11861186                        mVisible.push_back(sn); 
     
    12031203        { 
    12041204                getRenderQueue()->addRenderable(octant->getWireBoundingBox()); 
    1205                 ++mNumObjects; 
     1205                mBoxes.push_back(octant->getWireBoundingBox()); 
    12061206        } 
    12071207 
Note: See TracChangeset for help on using the changeset viewer.