//load Mesh
scene::IAnimatedMesh* MechWarrior = smgr->getMesh("mech-01_no-vert.X");
node = smgr->addAnimatedMeshSceneNode(MechWarrior);
//load texture in different layer
node->setMaterialTexture(1, driver->getTexture("mech-1-01.jpg"));
node->setMaterialTexture(0, driver->getTexture("mech-1-illum.jpg"));
//set material flag and ive tried them all
node->setMaterialType(video::EMT_LIGHTMAP);
I want the lightmap texture and normal texture to blend and to be affected by dynamic lighting.
Anyone have a solution or know of anything i could test?
The problem might be that you don't have a second set of texture coords. Lightmaps do require it, otherwise only fragments of the maps are shown. Since you seem to use an animated mesh it's pretty much impossible to add those coords manually. So you have to use a file format which supports lightmaps directly, such as b3d. You'll also have to export the second texture set from your 3d modeller.
However, using lightmaps with animated meshes seems to be wrong somehow...