How can I rotate a cubemap / camera vector?

Hi,
I am using often cubemaps (HDR pictures) in the emissive channel of my glass material to fake reflections. But I am not able to rotate the cubemaps to adjust my reflections. How can I archive this?

I have attached a picture of my material setup.

Best regards, Andreas

Hi Maxwell,

This is the typical setup used to map a cubemap onto a surface and allow for rotation along the Z axis. This is also set up so the cube map will work in a location other than world origin.

Let me know if that helps!

Ed

Hi Ed,
thank you very much for your answer. I will try this out the next days.

Best regards, Andreas

This is not a good solution, because it basically just maps the texture onto the surface and OP asked for faking reflections.

For reflections you want to use the reflection vector as the UV source. You can also rotate that with the same node as mentioned above.

4 Likes