multi texturing.

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
joi
Posts: 26
Joined: Sat Sep 20, 2003 10:25 pm
Location: Brazil

multi texturing.

Post by joi »

i need to know how to put more then one texture in a model (i really need this) :shock:

can someone paste a exemple code to me ? (i would really love it if you do a 3-texture code) :roll:

thanks a bunch in advance :lol:
------------
one more lie
jrnovoa
Posts: 12
Joined: Tue Sep 16, 2003 12:29 pm
Contact:

Re: multi texturing.

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"));
....


:shock: :shock:
joi
Posts: 26
Joined: Sat Sep 20, 2003 10:25 pm
Location: Brazil

Post by joi »

thats it ? :shock: poop! i really gotta look api more. :oops: thanks. :wink:
------------
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.
Post Reply