9
$\begingroup$

How do I rotate a 90% gradient in the node editor without rotating the object (see attached picture). Can I do this in the space properties editor or I probably need to add another node?

All I want to do here is to keep the colours exactly the same, but 90% rotated in horizontal direction.

enter image description here

$\endgroup$

2 Answers 2

15
$\begingroup$

You use the Mapping Node, add it with Shift-A>Vector>Mapping. Don't forget to add the texture cordinate into the mapping node, it will not work otherwise.

enter image description here

You will then need to tweak the Y and Z values. To get 90o You will need to set the Y one to 90o

Here is it at work:

enter image description here

$\endgroup$
1
  • 1
    $\begingroup$ Thank you, great help, adding the Texture Coordinate is very important too, I think you should edit your answer to add that, I wouldn't know that if I hadn't checked your images. $\endgroup$
    – Georges D
    Mar 23, 2016 at 14:51
3
$\begingroup$

Add a Mapping Node (Add-->Vector-->Mapping) and place it between Texture Coordinate and Gradient Texture nodes. enter image description here

Change the rotation factor of the Mapping node. enter image description here

$\endgroup$
2
  • $\begingroup$ its the first time i am using nodes, i get my nodes from the left side menu.in your answer i see you have a pop up menu , i could not find this , where do you get that ? $\endgroup$
    – elmentor
    Mar 9, 2015 at 22:01
  • $\begingroup$ To get an introduction to the shading workspace, I recommend this video: youtube.com/… $\endgroup$ Sep 26, 2023 at 11:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .