Ignore:
Timestamp:
03/01/07 22:48:05 (17 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Illum/Ogre/src/PRMDemo/include/PRMDemo.h

    r2179 r2181  
    104104                OgreIlluminationManager::getSingleton().setMainViewport(mWindow->getViewport(0)); 
    105105                OgreIlluminationManager::getSingleton().setShadowMapSize(512); 
    106                 OgreIlluminationManager::getSingleton().setShadowMapMaterialName("GameTools/ShadowMapDistance"); 
     106                OgreIlluminationManager::getSingleton().setShadowMapMaterialName("GTP/Basic/DepthCCW"); 
    107107                OgreIlluminationManager::getSingleton().setFocusingSM(true); 
    108            OgreIlluminationManager::getSingleton().setShadowMapSize(512); 
    109            OgreIlluminationManager::getSingleton().setBlurShadowMap(false); 
    110            OgreIlluminationManager::getSingleton().setUseLISPSM(false); 
     108           OgreIlluminationManager::getSingleton().setShadowMapSize(700); 
     109           OgreIlluminationManager::getSingleton().setBlurShadowMap(true); 
     110           OgreIlluminationManager::getSingleton().setUseLISPSM(true); 
    111111                                 
    112112                Root::getSingleton()._setCurrentSceneManager(mSceneMgr); 
     
    126126                SceneSerializer s(mSceneMgr); 
    127127                DataStreamPtr inputStream;                               
    128                 inputStream = ResourceGroupManager::getSingleton().openResource("level.txt");   //towers2.level  
     128                inputStream = ResourceGroupManager::getSingleton().openResource("towers2.level");       //towers2.level  
    129129                s.parseScript(inputStream, ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME); 
    130130                         
    131                 createPlane("p","GTP/Basic/ShadowReciever/Depth",Vector3(0,0,0),Vector2(1000,1000)); 
     131                createPlane("p","GTP/Basic/ShadowReciever/Depth",Vector3(0,-0.3,0),Vector2(150,150)); 
    132132 
    133133                Light* mainLight = mSceneMgr->createLight("MainLight"); 
Note: See TracChangeset for help on using the changeset viewer.