How interchange in between texture maps?

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
jakmagi
Posts: 4
Joined: Fri Oct 19, 2007 6:20 am

How interchange in between texture maps?

Post by jakmagi »

1) Here, I'm not talking about texture mapping techinques, such as parallax stuff, I'm can't seem to change in between, say a from a brick texture to a skin texture by the user's command.

Initially, my though up idea to set/interchange the textures during the eventreceiver class: user key in a certain button and a model's texture changes on the fly..

Does anyone also have a sample code snppiet for me to refer to as well?
arras
Posts: 1622
Joined: Mon Apr 05, 2004 8:35 am
Location: Slovakia
Contact:

Post by arras »

Code: Select all

void scene::ISceneNode::setMaterialTexture (u32 textureLayer, video::ITexture *texture)
Try to read and search API before asking, this one is not so hard to find. Also you probably overlooked firsth post in this forum room: Don't ask questions here. http://irrlicht.sourceforge.net/phpBB2/ ... php?t=5164
Post Reply