How to rotate a normal map / Bumpmap

 

Hi there.

The Bumper allows the creation of a normal/bump map.
Is there any (generic) way in Axy to rotate the vectors of the normal map like e.g. so:

How to rotate a normal map / Bumpmap

Or do we have to roll our own.
And if the latter is true, what would be the best approach? :-)

Cheers & all the best.

Eric.


   EricWest

 
Profile Image
Eifert@Aximmetry
  -  

Hi Eric,

There is no generic module available that can optimally achieve this.

The best approach is to implement this in a shader.
You can make the following simple shader:
How to rotate a normal map / Bumpmap

In the Vertex:
How to rotate a normal map / Bumpmap

In the Pixel:

And use the created shader (RotateNormal) like this:
How to rotate a normal map / Bumpmap

Warmest regards,

 
Profile Image
EricWest
  -  

Hi @Eifert.

Brilliant! Thanks for another invaluable hint!

Cheers.

Eric.