The imposition of several normal maps on model

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
easy163
Posts: 24
Joined: Wed Jul 10, 2013 12:50 pm

The imposition of several normal maps on model

Post by easy163 »

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

Image

Here's a screenshot of how it without normal maps looks like in the editor

Image

What can you do? As the bust of the group? You can sample code?
easy163
Posts: 24
Joined: Wed Jul 10, 2013 12:50 pm

Re: The imposition of several normal maps on model

Post by easy163 »

All I figured out how it's done
node->getMaterial(0).setTexture(1, driver->getTexture(material_1)); :)
Post Reply