- Timestamp:
- 10/27/06 17:40:02 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/GameToolsRaytraceDemo/include/GameToolsRaytraceDemo.h
r1629 r1691 177 177 { 178 178 179 createPostproc();179 //createPostproc(); 180 180 181 181 OgreIlluminationManager::getSingleton().setMainCamera(mCamera); … … 266 266 //Init lights 267 267 mainLight = mSceneMgr->createLight("MainLight"); 268 mainLight->setType(Light::LT_ SPOTLIGHT);268 mainLight->setType(Light::LT_POINT); 269 269 mainLight->setDiffuseColour(ColourValue::White); 270 270 mainLight->setSpecularColour(ColourValue::White); 271 mainLight->setSpotlightRange(Radian(Degree(175)),Radian(Degree(180)));271 //mainLight->setSpotlightRange(Radian(Degree(175)),Radian(Degree(180))); 272 272 mainLightNode = rootNode->createChildSceneNode(); 273 273 mainLightNode->setPosition(0,0,0);
Note: See TracChangeset
for help on using the changeset viewer.