Hi, I have created rock face material for a UDK scene and then rotated the material by 90 degrees each time on 4 assets to create some variation, the problem is that I get the following result, the lighting seems to rotate with the model. There is one dominant directional light lighting the scene. Any ideas its driving me nuts!
![rock_light.jpg](http://www.nickfarley.co.uk/rock_light.jpg)
Replies
Also can a mod move this thread to the UDK section as it really belongs there.
Due to the way tangent space normal maps work, you cannot just rotate them.
You'd need to do some channel swapping and inverting for 90° 180° and 270° rotations see these photoshop actions. from this thread.
For anything other than that you'd need to recalculate the normal information with something like this tool made by Ryan Clark from this thread.
EDIT:
Hmm... looks like the link to the photoshop actions is broken, they used to be in the wiki as well but I can't seem to locate them, at least the relevant info is still in the post. Sorry...
EDIT2:
This section of the wiki may help explain it a bit better.