I modeled some trousers and normal mapped them and they work fine. But then I copied my trouser normal map in to my main uv layout which includes the rest of the body, then pasted my original trouser normal map in to this layout but rotated it 90 degrees.
My question is , does rotating a normal map affect the way it works as it now look inside out. i tried flipping both red and green channel, but no joy.
Looking at poops uv layout he seems to have stuff rotated around, so how come this is happening.
Replies
Rotating it fucks it up.
But for example is you want to add detail on a normal map in pshop afterwards with the nvidia plugin, then this will cause problems
is do the shake and vac and put the freshness back
or
load the lowpoly and highpoly objects, put the uvs of the lowpoly in the corect place, and rebuild your normal maps.
edit: ofcourse this only works if your just rotating them in 90 degree increments.
Rick - I will be doing it that way, when we get our new more powerful machines.
But even then i am sure lots of people will want to edit the normal maps afterwards anyway.
I suppose the easiest thing would be to keep everything the right way up, even if you don't get as good a uv layout
klickadiklick
but i think i keep laying out my uv´s unrotated..
This is because normal maps are generated and used relative to the UVs, not relative to the orientation on a model.
Here's an example (small chunk of a normal map):
The normal map chunk that this is from is rotated 90 degrees relative to its orientation on the model and it still retains that in the red channel: black = left, white = right and in the green channel (doom3 convention): black = up, white = down.
I've observed this behavior in arbitrarily rotated UV chunks, and within a single chunk where the orientation doesn't stay consistant (pieces that wrap around a model).
Summary: As long as you follow your engine's green channel convention, you should have no problem painting extra detail no matter the rotation of your UVs.
*EDIT: and yes, you can rotate normal map pieces after the fact if you wanted to, as long as your correct the red and green channels for the rotation. This easily done in Photoshop for rotations of 90 degree increments. (Especially with my normal map actions set : url=http://sinistergfx.com/index.php?func=tools).
I've tried to figure out a way to correct arbitrary rotations in Photoshop, but am so far unsuccessful with a "correct" solution; and I also believe there would be no way to do it without losing fidelity (limitations of the color depth) unless you wrote a custom filter.