Normal Maps in VAM 101

Guides Normal Maps in VAM 101

A short guide to help you troubleshoot your Normal Maps. It assumes that you already know what a normal map is and that you have yours in the correct space (tangent vs world space and so on). Feel free to comment when you have correction, additions, questions.

Basics

Normal maps in Virt-A-Mate go into the _BUMP slot when importing textures (despite the naming "bump maps" or "height maps" won't work).
There are a few ways to encode normal maps. I exported mine from Blender and made some in Photoshop. They looked okay, but at a closer examination there was something not quite right with both versions. So here is how exactly a normal map in VAM is supposed to look like. And how to convert one in Photoshop to the correct format.

normal overview.jpg


The normal maps I got from Blender had a strange yellow look. This is mainly caused by an inverted blue channel. However in my test the blue channel had no effect. So if you have a yellow normal map it can still be correct.
What matters are the green and red channels. Both Photoshop and Blender where giving me files where one of them was inverted. Here is a step by step guide through Photoshop on how to make and CORRECT those channels.

Making a Normal Map in Photoshop

To make a simple Normal Map with Photoshop you need a greyscale image. I won't go into detail, but in short: It relies on contrast between neighboring colors and everything that goes darker will look impressed, while everything where the contrast goes to lighter will look raised.

PS filter 01.jpg


Find the Normal Map Generator under Filters -> 3D -> Generate Normal Map. It will open a 3D Preview and you can make a bunch of adjustments. However leave the checkbox "Invert Height" empty:

PS filter 02.jpg


Correcting a Normal Map in Photoshop

From the Preview Image you can already guess that the Green Channel is weird. It looks brighter at the bottom of the raised circle... Just from looking at the image we perceive it as "impressed" rather then "raised". Now look at the Channels. You can find them Under Window -> Channels. There are usually tabbed next to the Layers window.

PS filter 03.jpg


The red Channel looks like it's lit from the right. Fine.
But the Green Channel has the light on the "down facing" parts. Luckily it's super easy to fix: Just select the Green Channel to solo view it. Then Invert it. You can do this by hitting the CTRL+I keys or this menu item:

PS filter 04.jpg


The resulting Green Channel and the overall Normal Map will now look like this. Good Job.
When I exported a bunch of Normal Maps from Blender (with Simple Bake) GREEN was fine, but the RED and the BLUE channel were inverse. While Blue does not matter, the RED channel had to be flipped. It's generally a good idea to quickly check the channels no matter where your maps are from.

PS filter 05.jpg


In VAM

And here are the resulting Maps in VAM for comparison. Left to right: Normal Map with corrected green channel, Normal Map with correct Red and Green channels and flipped Blue channel, Normal Map with wrong Green channel. Note the light directions on the Sphere: The yellow light comes from the lower left, but on the wrong normal map it looks like it's coming from the upper left. This is plain wrong, it could never be in that spot.

ingame.png


Additional Tips&Tricks

The default settings for example on clothing can look rather flat. Change the material settings to improve the contrast:
  • Subsurface Color has a pretty big impact. Change it to a darker gray/black to darken the cavities. Or even a darker color for additional style. The shadow parts of the model will be tinted in the selected color. But it will also change the lit parts -> The will get subtly tinted in the complementary color to the shadow parts.
  • Diffuse Bumpiness: Pushes the shadow parts. Can introduce highlights into shadow parts sometimes.
  • Specular Bumpiness: Pushes the Highlights.

bump cloth.jpg
Author
kemenate
Views
29,501
First release
Last update
Rating
5.00 star(s) 10 ratings

More resources from kemenate

Latest reviews

Guys how do you edit the maps on the border of two pieces for instance "body" and "limbs" and keep the integrity?
Upvote 0
Five stars just for the thumbnail! XD

Jokes aside, very usefull guide! ;)
Upvote 0
You can invert the Green (or whatever channel) directly in Blender when you're baking, in the Render > Bake > (with bake type set to "normal") Influence
Upvote 0
thanks a mill this post made me understand allot
Upvote 0
My dumb *** has been using height maps and wondering why they barely make a difference. Thanks for correcting me!
Upvote 0
Excellent guide
Upvote 0
very usefull explaination.
however i still think theres some lobby of people who created all this normal things that do conspiracies against 3d artist to make their life more complicated lol
Upvote 0
Awesome! That's what I need!
Upvote 0
Great guide. Worth reading. Although information are not new to me, but I still making mistakes from time to time.
Upvote 0
I wish I had read your guide a month ago. This explains a lot and helped me stopping scratching my head too
Upvote 0
Back
Top Bottom