How to rotate a texture?

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
Hirogen
Posts: 19
Joined: Tue May 29, 2007 5:55 am

How to rotate a texture?

Post by Hirogen »

How can I rotate a ITexture in Irrlicht? Is there a way to manipulate textures?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Yes, you can get a texture matrix handle from the Material and transform the texture coords with it.
Hirogen
Posts: 19
Joined: Tue May 29, 2007 5:55 am

Post by Hirogen »

I don't want to rotate a material texture. I want to rotate a ITexture, which is used to display on the GUI.
Masterhawk
Posts: 299
Joined: Mon Nov 27, 2006 6:52 pm
Location: GERMANY
Contact:

Post by Masterhawk »

Image
Post Reply