Saturday, May 3, 2014

UDK : Flip Texture Horizontal or Vertical

How to flip a texture horizontally or vertically


Sometimes I post stuff here so I won't forget how I did it. This was simple but not quite as straight forward as I thought it would be. It only took 5 minutes to find the answer on the web but I couldn't clearly read the image.

Here is how you flip a texture horizontally

It is the -1 in the bottom right 2 dimensional constant that is flipping it.

If I wanted to flip it vertically, I would put -1 in the other entry in that constant and then change the "red box" to be 0,1:

No comments:

Post a Comment