aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--ClientHamr/extantz/crappisspuke.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ClientHamr/extantz/crappisspuke.cpp b/ClientHamr/extantz/crappisspuke.cpp
index b853d96..41bd95d 100644
--- a/ClientHamr/extantz/crappisspuke.cpp
+++ b/ClientHamr/extantz/crappisspuke.cpp
@@ -107,6 +107,8 @@ EAPI int startIrr(GLData *gld)
107 driver = device->getVideoDriver(); gld->driver = driver; 107 driver = device->getVideoDriver(); gld->driver = driver;
108 smgr = device->getSceneManager(); gld->smgr = smgr; 108 smgr = device->getSceneManager(); gld->smgr = smgr;
109 109
110 // set ambient light
111 smgr->setAmbientLight (video::SColorf(0x00c0c0c0));
110 /* 112 /*
111 To show something interesting, we load a Quake 2 model and display it. 113 To show something interesting, we load a Quake 2 model and display it.
112 We only have to get the Mesh from the Scene Manager with getMesh() and add 114 We only have to get the Mesh from the Scene Manager with getMesh() and add
@@ -137,7 +139,7 @@ EAPI int startIrr(GLData *gld)
137 */ 139 */
138 if (node) 140 if (node)
139 { 141 {
140 node->setMaterialFlag(EMF_LIGHTING, false); 142// node->setMaterialFlag(EMF_LIGHTING, false);
141 node->setMD2Animation(scene::EMAT_STAND); 143 node->setMD2Animation(scene::EMAT_STAND);
142 node->setMaterialTexture(0, driver->getTexture("media/sydney.bmp")); 144 node->setMaterialTexture(0, driver->getTexture("media/sydney.bmp"));
143 } 145 }