Need to flip a texture

Avatar
RomulanPaladin
11 Posts
Posted Aug 05, 2013
I have a button that flips some panels. When unpressed, some portal-fling panels are black and a laser-wall panel is white. When pressed, they flip (laser-wall becomes black and the portal-fling becomes white).

To clarify to the player what is happening, I made both panel flips clearly visible from the button and added some helper icons that flip with the panels: when unpressed, the helper icons show the laser-cube and laser-portal icons; when pressed, they flip and show the two portal-fling icons.

Here's the thing: the two portal fling icons appear flipped (mirror image) once they become visible, of course. You can clearly see the "1." and "2." in the corners flipped incorrectly.

I'm new at this stuff. What's the best way to apply a texture flipped? Is there an option somewhere that I'm missing?

Advertisement
Registered users don’t see ads! Register now!
Avatar
taco
504 Posts
Posted Aug 05, 2013
Replied 33 minutes later
If you put a negative value in for the x or y value of a texture's scale, it should flip the texture on that axis. Hope this helps.
Avatar
Gemarakup
1,183 Posts
Posted Aug 05, 2013
Replied 27 minutes later
No, in the texture application window, there's a 0.00 I think on the right. Change that to 90 or whatever.
Avatar
srs bsnss
552 Posts
Posted Aug 05, 2013
Replied 6 minutes later
Aligning to either "Face" or "World" (swapping one to the other) has often worked for me when textures were flipped (often these were signage textures). The other methods may be valid as well, but if memory serves, negative X or Y values just change the offset and the "0.00" is just texture rotation around a 360 degree axis. Setting it to 180 might work, though I don't know.
Avatar
taco
504 Posts
Posted Aug 05, 2013
Replied 13 minutes later
Seriously, just open the Toggle Texture Application (Shift+A) and put a negative value in the Texture Scale X-value and the texture will flip horizontally. It helps if you test something before just saying "No".
Avatar
RomulanPaladin
11 Posts
Posted Aug 05, 2013
Replied 57 minutes later

taco wrote:
If you put a negative value in for the x or y value of a texture's scale, it should flip the texture on that axis.

Exactly the elegant solution I was looking for. Works great. Thanks!

Advertisement
Registered users don’t see ads! Register now!
Avatar
protoborg
288 Posts
Posted Aug 05, 2013
Replied 2 hours later

taco wrote:
Seriously, just open the Toggle Texture Application (Shift+A) and put a negative value in the Texture Scale X-value and the texture will flip horizontally. It helps if you test something before just saying "No".

While it may invert the texture, it will only retain the correct orientation if you set it to Align to World.