i have a .3ds model,there are four textures for it:diffuse map、normal map、specular map and self-Illmination.
i have set diffuse map and normal map for it,it looks like well.
codes like this:
Code: Select all
node->setMaterialTexture(0,driver->getTexture("D.tga"));
node->setMaterialTexture(1,driver->getTexture("N.tga"));
node->setMaterialType(EMT_NORMAL_MAP_SOLID);and i have found setMaterialType() which is just can be used once,it can not mix type.
can anybody help me?i'm new coming...