Changeset 2025 for GTP/trunk/App/Demos/Illum/Ogre/src/CausticTest/include
- Timestamp:
- 01/23/07 08:57:19 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/CausticTest/include/CausticTest.h
r1691 r2025 147 147 SceneNode* sphereNode; 148 148 149 void loadResources(void) 150 { 151 // Initialise, parse scripts etc 152 ResourceGroupManager::getSingleton().initialiseResourceGroup("Bootstrap"); 153 ResourceGroupManager::getSingleton().initialiseResourceGroup("General"); 154 ResourceGroupManager::getSingleton().initialiseResourceGroup("PostProc"); 155 } 156 149 157 void createPostproc() 150 { 158 { 151 159 CompositorManager::getSingleton().addCompositor(mWindow->getViewport(0), 152 "G ameTools/Glow");160 "GTP/PostProc/Glow"); 153 161 CompositorManager::getSingleton().setCompositorEnabled(mWindow->getViewport(0), 154 "GameTools/Glow", true); 155 162 "GTP/PostProc/Glow", true); 163 164 CompositorManager::getSingleton().addCompositor(mWindow->getViewport(0), 165 "GTP/PostProc/ToneMap"); 166 CompositorManager::getSingleton().setCompositorEnabled(mWindow->getViewport(0), 167 "GTP/PostProc/ToneMap", true); 156 168 } 157 169
Note: See TracChangeset
for help on using the changeset viewer.