![Image](http://i22.photobucket.com/albums/b339/Amt0571/shadows-1.jpg)
The code I'm using to load the level and enable the lightning is the following:
scene::IAnimatedMesh* mesh;
mesh = smgr->getMesh("./data/scene.ms3d");
scene::IAnimatedMeshSceneNode*q3node = 0;
q3node = smgr->addAnimatedMeshSceneNode(mesh);
q3node->setMaterialType(video::EMT_SOLID);
q3node->setMaterialFlag(video::EMF_LIGHTING, true);
scene::ILightSceneNode* light1 =
smgr->addLightSceneNode(0, core::vector3df(0,0,0),
video::SColorf(1.0f, 1.0f, 1.0f, 0.0f), 500.0f);
I'm using ms3d (MilkShape) for the mesh and I'm unable to see what I've done wrong. Any suggestion?
Thanks in advance!