How can i flip texture horizontally?

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
RainBoy
Posts: 16
Joined: Wed Jun 01, 2011 8:08 pm
Location: United States

How can i flip texture horizontally?

Post by RainBoy »

Hello,
I have to rotate texture that was loaded from file horizontally.
I've put it on sphere, my camera inside the sphere, so image flipped horizontally

Thank you,
Alex.
greenya
Posts: 1012
Joined: Sun Jan 21, 2007 1:46 pm
Location: Ukraine
Contact:

Re: How can i flip texture horizontally?

Post by greenya »

You can edit your texture file in some image editor (flip it).
Or you can rotate your sphere on 180 degrees by proper axis.
Or you can edit texture coordinates of the sphere.
Post Reply