◈TextureMapToolsLOCAL MATERIAL WORKSPACE Local processing
MATERIAL WORKFLOW GUIDE

Normal Maps: Colors, Direction and Creation

What a Normal Map Does

A tangent-space normal map encodes the direction of a surface at each texel. It changes shading, not the silhouette. In 2D rendering it can also provide directional lighting when the shader supports that workflow.

Open related tool ↗

Normal Map Color and Vector Values

Decode RGB from [0,255] to [-1,1], then normalize the vector. Red and green represent tangent axes and blue the local surface normal. Treat this data as non-color. A base-color texture serves a different purpose. For example, a red value of 64 represents approximately -0.498 before vector normalization. Never apply an sRGB-to-linear conversion to normal RGB values.

Open related tool ↗

Flat and Neutral Normal Maps

A flat positive-Z normal is approximately RGB (128,128,255) in 8-bit encoding. The small quantization error at the center is expected. Smoothing and normalization should retain an upward direction. Download the flat reference below and check that its RGB channels read 128, 128 and 255 in a pixel inspector.

Open related tool ↗

How to Make a Normal Map

Import a linear height field and choose a gradient kernel and strength. For a photograph, choose the color estimate instead; shadows can become false relief. Compare the normal output and preview. Download the 512 × 32 16-bit ramp below. Import it in Height mode and use Clamp rather than Repeat: this ramp is deliberately not periodic. The reference normal uses Scharr strength 180 with unit sample spacing. Its interior red channel is below 128, green is neutral and blue stays positive. Exact values depend on strength and spacing. A true 16-bit file contains more than 256 possible levels; an 8-bit screenshot is not a substitute.

Open related tool ↗

Normal Maps in Unity

Use the engine's normal-map import workflow and verify the green-channel direction with a known test surface. Unity version and shader settings affect import. This site's engine import has not yet been certified. The Unity manual documents Flip Green Channel. Apply a convention change once, not in both the converter and the importer. The Blender manual specifies Non-Color mode for tangent-space normals. These references describe documented behavior, not a new Unity editor test.

Open related tool ↗

Download reproducible diagnostic examples

Original synthetic fixtures, generated from the current project at build time. They check defined numerical behavior, not scanned material realism or third-party engine compatibility.

Flat tangent-space normal: RGB 128, 128, 255.
Flat tangent-space normal: RGB 128, 128, 255. Download PNG
Linear 16-bit height ramp, 512 distinct samples along X.
Linear 16-bit height ramp, 512 distinct samples along X. Download PNG
Scharr reference normal, strength 180, Clamp, unit spacing.
Scharr reference normal, strength 180, Clamp, unit spacing. Download PNG

Fixture manifest and SHA-256 values

Technical references

References describe published technical conventions. They do not certify this implementation or an untested engine version.