Normal mapping works by replacing the interpolated surface normal by the one evaluated from an RGB texture, where each channel (Red, Green, Blue) corresponds to the X, Y and Z coordinates of the surface normal. It can be faster than bump mapping since bump mapping requires evaluating the shader underneath at least three times.
Normal map -> Standard Surface
The map, usually exported from Mudbox or ZBrush.
Increase or decrease the normal map effect.
The tangent map. Together with the shading normal, it defines the tangent coordinate system that the input vector applies to. If available from your sculpting tool, you should connect here the tangent map that the normal map relies on. If 0, the shader attempts the following actions to build the frame:
- Look for vector user data named "tangent" and "bitangent".
- Use the UV derivatives.
- Build its own local frame.
The shader works in tangent space only. If your tangent map was exported in either world or object space, you could instead use the more generic space_transform shader.
The normal and tangent parameters can be optionally linked to define a custom tangent coordinate system that the input is transformed from. If the normal is not linked, it will use the default surface normal.
Lets you shuffle the input channels order.
If enabled, inverts (1-channel) the x input channel.
If enabled, inverts (1-channel) the y input channel.
If enabled, inverts (1-channel) the z input channel.
Color To Signed
For 8-bit maps. If enabled, the input is remapped to the [-1, 1] range.
The default values of these parameters (Order, Invert, Color To Signed) let you correctly import a map generated in Mudbox in Tangent coordinate space.