I'm trying to rotate an environment texture (around Z), but without the mapping node, as it lacks sockets.

I've successfully rebuilt, the node tree detailed here: Use another node to control Vector Mapping

Works great for Object UVs, but not for generated UVs of an environment map. I've tried translating it along U, which also didnt work. Any suggestions?

edit: the linked node tree works for environment maps, IF you connect the Z channel from the initial separate node to the final combine node.

  • $\begingroup$ In what way did it not work? - this might give a clue as to what’s going wrong. Can you edit your post to include your current (not working) node setup so that people can replicate your setup. One thing, bear in mind thst the environment is effectively at infinity - so translation will not work - it’s all about angle of incidence compared to the normal from an infinite sphere. $\endgroup$ Commented Apr 8, 2018 at 11:47

1 Answer 1


This is a node setup for a z-axis rotation. The other 2 axis' are just as easy but adding all three axis' into one formula gets very complicated.

To rotate the image, adjust the Value node that is located at the top-left in the "Deg 2 Rad" frame.

Note: The math nodes all have two "value" fields but only the upper field is used for trigonometry so just ignore any values in the lower fields.

enter image description here

  • 1
    $\begingroup$ This one works on environment maps as well. Thank you so much Marc! $\endgroup$
    – MACHIN3
    Commented Apr 8, 2018 at 13:31

You must log in to answer this question.

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