Please or Register to create posts and topics.

Need to flip a texture

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?

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.

No, in the texture application window, there's a 0.00 I think on the right. Change that to 90 or whatever.

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.

ImageImage

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

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!

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.

Wow! That was...uh, yeah. Just, yeah.