with this kind of material, not only one textures:
Ex:
Code: Select all
IAnimatedMesh* mesh = myscene->getMesh("media/mobile.3ds");
IAnimatedMeshSceneNode* node=myscene->addAnimatedMeshSceneNode(mesh);
if (node)
{
node->setMaterialFlag(EMF_LIGHTING, true);
node->setMaterialTexture( 0, mydriver->getTexture("media/textures/parquet.jpg") );
node->setMaterialTexture( 2, mydriver->getTexture("media/textures/wall.jpg") );
......ecc ...
myscene->addLightSceneNode(0,vector3df(1000,1000,1000),SColorf(1.0f,1.0f,1.0f,1.0f),600.0f);