Thursday 26 May 2016

How to rotate HRDIs using a sky texture

Ever used HDRIs and then realised that to rotate it to fit your camera, you needed to a whole complex mapping node?


Well, this can easily be solved by using a sky texture. This works based on the fact that in Blender, Colours can be converted into Vectors simply by plugging one into another. This means that if you take the UV (Example) from the texture coordinate and put it into the colour input of a shader, you get colours:





This was simple enough to do:


So, by using a Sky Texture, and setting the type to "Preetham":


So, here is your completed node setup:


Notice that it is in the world tab, not the materials tab.

No comments:

Post a Comment