Try to put a few normal maps on a model which has several textures in milkshape 3d created two groups and затекстурировал them). When loading put node->setMaterialType(EMT_PARALLAX_MAP_SOLID); and apply the second layer of a normal map node->setMaterialTexture(1, driver->getTexture(material_1));. The fact is that you need to put two normal map, one for the left part of the model where red brick, the second where the stonework. Now happens
Here's a screenshot of how it without normal maps looks like in the editor
What can you do? As the bust of the group? You can sample code?
The imposition of several normal maps on model
Re: The imposition of several normal maps on model
All I figured out how it's done
node->getMaterial(0).setTexture(1, driver->getTexture(material_1));
node->getMaterial(0).setTexture(1, driver->getTexture(material_1));