When I use C++ I can add 3ds model with lighting with texture and with working light and smoothing (but under Irrlicht.NET this don't working and under IrrNet CP may be working).
Code: Select all
node->setMaterialFlag(EMF_LIGHTING, true);
node->getMaterial(0).Shininess = 0.0f;
node->getMaterial(0).DiffuseColor.set (0, 127, 127 , 127);
node->getMaterial(0).SpecularColor = 0.0f;
node->getMaterial(0).AmbientColor = 127.0f;
node->getMaterial(0).EmissiveColor.set (0, 255, 255, 255);
node->getMaterial(0).NormalizeNormals = true;
ILightSceneNode* light1 = smgr->addLightSceneNode(0,
vector3df(1024,1024,1024), SColorf(255.0f, 255.0f, 255.0f));
ILightSceneNode* light2 = smgr->addLightSceneNode(0,
vector3df(-1024,-1024,-1024), SColorf(100.0f, 100.0f, 100.0f));
Try to use material properties in same configurations. Also you can take any(!!!) texture to your 3ds model. And I don't use 3ds textures (heh, irrlicht report in console about error, but still working
), I use any texture, that I set manual (auto texturing is not working, I mean, cause I try many times, and can't to do this).
P.S. Sorry for my bad english, cause I'm russian-speaker.