24

I have created this sign, but when I added the red texture to the face, the texture turned out sideways. Is there a way to rotate it? The original image is the right way up.

Rotated stop sign

In the texture settings there doesn't seem to be a rotation value. Texture settings

catlover2
  • 814
  • 1
  • 9
  • 25
Qwertie
  • 7,036
  • 19
  • 51
  • 79

3 Answers3

17

You need to UV unwrap it:

  1. Enter edit mode and select all (A)

  2. Unwrap the mesh. For that flat plane the best way is probably aligning your view to the face of the sign (shiftNumpad 7 with the face selected) and pressing U> Project from view.

  3. Then select the UV coordinates in Texture > Mapping:

    enter image description here

You should be able to rotate the UV map in the UV image editor with R to adjust the rotation.

See the wiki for more information.

Cycles:

Note that in cycles it's possible to rotate the texture without UV unwrapping via the Mapping node:

enter image description here

gandalf3
  • 157,169
  • 58
  • 601
  • 1,133
  • The texture was applied with a material the doesn't seem to be any setting for rotation – Qwertie Dec 17 '13 at 06:56
  • @qwertie In that case you haven't unwrapped your sign yet. There is a way to rotate it, (I'll update my answer) but I recommend UV unwrapping it (see the wiki). – gandalf3 Dec 17 '13 at 06:57
16

The way of doing it with simple (non-UV) texture mapping, is to tweak the mapping coordinate and scale.

1a

For example:

  • Switching X and Y axis, and scaling X by -1 will rotate the texture 90 degrees clockwise.
  • Switching X and Y axis, and scaling Y by -1 will rotate the texture 90 degrees counter-clockwise.
  • Scaling X and Y by -1 will flip the image vertically.

But you see that it's quite limiting, less intuitive and flexible than UV-map based rotation, described in gandalf3's answer.

Adhi
  • 14,310
  • 1
  • 55
  • 62
3

Image Sampling > Flip X/Y Axis

image sampling > flip x/y axis

Eli Peters
  • 291
  • 3
  • 9
  • 1
    Need more context. Where is this in the UI? – foobarbecue Feb 28 '18 at 16:28
  • 2
    @foobarbecue it's an old answer so probably this feature may have been removed with cycles, but on Blender Render the panel is located typically on the right "Properties/Texture" panel with "Type" set to "Image or Movie"... the fix in Cycles is to adjust the "Scale" to "-1" – Eli Peters Mar 02 '18 at 04:05
  • Using a mapping node and adjusting the scale to -1 as Eli stated works perfect, just be sure the image node is set to "Repeat" and not "Clip". Otherwise, a negative scale produces a black output. – scottywood Nov 20 '19 at 19:31