Changeset 2181 for GTP/trunk/App/Demos/Illum/Ogre/src/PRMDemo
- Timestamp:
- 03/01/07 22:48:05 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/PRMDemo/include/PRMDemo.h
r2179 r2181 104 104 OgreIlluminationManager::getSingleton().setMainViewport(mWindow->getViewport(0)); 105 105 OgreIlluminationManager::getSingleton().setShadowMapSize(512); 106 OgreIlluminationManager::getSingleton().setShadowMapMaterialName("G ameTools/ShadowMapDistance");106 OgreIlluminationManager::getSingleton().setShadowMapMaterialName("GTP/Basic/DepthCCW"); 107 107 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); 111 111 112 112 Root::getSingleton()._setCurrentSceneManager(mSceneMgr); … … 126 126 SceneSerializer s(mSceneMgr); 127 127 DataStreamPtr inputStream; 128 inputStream = ResourceGroupManager::getSingleton().openResource(" level.txt"); //towers2.level128 inputStream = ResourceGroupManager::getSingleton().openResource("towers2.level"); //towers2.level 129 129 s.parseScript(inputStream, ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME); 130 130 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)); 132 132 133 133 Light* mainLight = mSceneMgr->createLight("MainLight");
Note: See TracChangeset
for help on using the changeset viewer.