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.
-
joi
- Posts: 26
- Joined: Sat Sep 20, 2003 10:25 pm
- Location: Brazil
Post
by joi »
i need to know how to put more then one texture in a model (i really need this)
can someone paste a exemple code to me ? (i would really love it if you do a 3-texture code)
thanks a bunch in advance

------------
one more lie
-
jrnovoa
- Posts: 12
- Joined: Tue Sep 16, 2003 12:29 pm
-
Contact:
Post
by jrnovoa »
node->setMaterialType(video::EMT_REFLECTION_2_LAYER);
node->setMaterialTexture(0, driver->getTexture("garota.jpg"));
node->setMaterialTexture(1, driver->getTexture("data/ipanema.jpg"));
....

-
joi
- Posts: 26
- Joined: Sat Sep 20, 2003 10:25 pm
- Location: Brazil
Post
by joi »
thats it ?

poop! i really gotta look api more.

thanks.

------------
one more lie
-
knightoflight
- Posts: 199
- Joined: Sun Aug 24, 2003 5:47 pm
- Location: Germany
Post
by knightoflight »
hey joi, no need to embarrassed, thats not a 3-texture-code what you wanted - thats a 2-texture-code.