Two textures
Posted: Mon Jan 30, 2012 9:19 pm
I read the forums on this and I honestly did ot understand. Guess I am still a beginner after a few months.
I have two bitmaps to a 3ds file. The code I use loads the model fine, but only seems to work with one texture and I have 2 of them. So far, cannot figure out how.
I have two bitmaps to a 3ds file. The code I use loads the model fine, but only seems to work with one texture and I have 2 of them. So far, cannot figure out how.
Code: Select all
playerModel = smgr->getMesh("Models\\warbird.ms3d");
node = smgr->addMeshSceneNode(playerModel);
if (node) {
node->setMaterialFlag(video::EMF_LIGHTING, false);
node->setMaterialTexture(0, driver->getTexture("Models\\warbird.bmp"));
}