Need to flip a texture
Quote from RomulanPaladin on August 5, 2013, 9:50 amI 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?
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?
Quote from taco on August 5, 2013, 10:24 amIf 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.
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.

Quote from Gemarakup on August 5, 2013, 10:51 amNo, in the texture application window, there's a 0.00 I think on the right. Change that to 90 or whatever.
No, in the texture application window, there's a 0.00 I think on the right. Change that to 90 or whatever.
Quote from srs bsnss on August 5, 2013, 10:58 amAligning 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.
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.
Quote from taco on August 5, 2013, 11:12 amSeriously, 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".
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".
Quote from RomulanPaladin on August 5, 2013, 12:10 pmtaco 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!
Exactly the elegant solution I was looking for. Works great. Thanks!
Quote from protoborg on August 5, 2013, 2:15 pmtaco 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.
While it may invert the texture, it will only retain the correct orientation if you set it to Align to World.