MATERIAL WORKFLOW / NORMAL MAPS
Why photo color and shadows can create false normal-map detail
Technical review: · Page structure updated: .
A photo-derived normal map can turn paint boundaries and shading into false slopes because AwesomeTexture uses RGB brightness as its height estimate. The output describes slopes of that estimate, not recovered geometry. Use a deliberate height map when shape matters; use a photograph when you can inspect and accept the brightness assumption.
Dark does not automatically mean a raised ridge or a physical hole. In our controlled test, a dark band on an explicitly flat surface produced opposing normal directions at its borders and a flat normal inside. Reversing the two colors reversed those border directions. The geometry never changed.
Compare your source in the Normal Map Generator. It accepts an image and generates a new normal map locally; it does not identify paint, remove illumination or reconstruct measured surface depth.
Albedo, height and normal maps answer different questions
An albedo or base-color texture represents surface color rather than an intended height field. In the Standard Shader workflow, Unity's albedo documentation separates those colors from lighting baked into the image. A camera photograph can contain both color variation and illumination, so it is not automatically a clean albedo map either.
A height map assigns a scalar offset to each location. A normal map stores a surface direction. SideFX's technical explanation distinguishes that direction-based shading detail from displacement that changes geometry. This article tests image-to-normal conversion; it does not test geometry displacement or an integration with either renderer.
Here the tool computes an estimated height Ĥ = (0.2126 R + 0.7152 G + 0.0722 B) / 255 from decoded 8-bit RGB. It smooths that estimate, takes central differences and encodes normalize(−Strength × dx, +Strength × dy, 1). RGB color differences can therefore enter the slope calculation even when a surface is physically flat. These weights are the current implementation, not a physical height measurement or a linear-light reconstruction.
Controlled test: separate the declared surface from its image
We created 10 procedural 256 × 256 PNG inputs and saved 22 outputs through the real tool on 2026-11-11. We also saved two independently calculated normal references. Every browser output matched the unchanged Worker in every RGBA channel.
The experiment keeps two independent descriptions: the supplied RGB image and an authored height function. The flat surface is H = 0.5. The relief surface is H = 0.5 + 0.2 sin(2πx/64), with Z = 4H. Coordinates are image-pixel steps and vertical units are arbitrary. The reference direction is calculated analytically from this Z, then quantized to 8-bit RGB.
These are synthetic inputs and mathematical references, not photographs of constructed objects or 3D renders. The uniform-color relief case deliberately withholds all shape cues from RGB. Its purpose is to expose missing information, not to model every possible lighting setup.
Unless a row says otherwise, exports use Strength 4, Smoothing 1 px, OpenGL and Tileable Sampling off. The complete experiment record identifies every input, reference, output, formula, parameter and SHA-256. The raw CSV retains unrounded measurements for all 22 outputs.
A paint edge becomes an estimated slope
In flat-dark-band, pixels with 96 ≤ x < 160 are gray 64; all others are gray 192. The independently declared surface stays flat. The following full-frame comparison shows the input on the left and the actual default export on the right.

For an unsmoothed probe, keep Strength 4 and set Smoothing to 0. At (95,128), the estimated central slope before smoothing is (64−192)/(2×255) = −64/255. At (160,128), it is +64/255. The true slope of the declared flat reference is zero at both locations.
| Input | Output RGB at (95,128) | Output RGB at (128,128) | Output RGB at (160,128) |
|---|---|---|---|
| Dark band, Strength 4, Smoothing 0 | 218, 128, 217 | 128, 128, 255 | 37, 128, 217 |
| Reversed colors, Strength 4, Smoothing 0 | 37, 128, 217 | 128, 128, 255 | 218, 128, 217 |
The red component switches sides when the colors reverse; the band interior remains the flat encoded value (128,128,255). In the tool's estimated scalar field the dark band is lower than its surroundings. That is an input assumption, not evidence of a physical depression. We did not render a lit material to label the appearance as convex or concave.

Different geometry can produce the same supplied pixels
flat-gray and relief-uniform-color contain exactly the same RGB128 image and produce byte-identical normal PNGs. One fixture declares a flat surface; the other declares the sine relief. Their expected normal references differ. A deterministic converter receiving only that image cannot choose which surface was intended.
The relief's constant-color input stays flat even at Strength 20 with Smoothing 0 or 8. Turning a slider cannot supply the missing height signal. For comparison, a grayscale image that deliberately encodes the sine height does produce varying normals close to the declared reference under these test conditions.


The same surface, different brightness or color
For height-sine, the input value is v = round(255H). We made three variations while keeping the authored geometry fixed. Adding 32 to every channel caused no clipping and produced a byte-identical default normal PNG. A constant offset does not introduce a new height gradient in this test.
Changing the input to round(32 + 0.5v) reduced contrast and changed the exported directions. Darkening only the central band to round(0.5v) added false boundaries while also changing the relief inside the band. A broad lighting-like ramp on the declared flat surface generated a small direction offset too. That ramp is an artificial intensity field, not a ray-traced shadow.

Color change alone is not sufficient either. The blue/orange pair (15,152,223) and (241,104,33) both give the current weighted RGB proxy 128/255. Switching between those colors produced a flat normal map despite the visible color boundary. The relevant input is this specific weighted brightness, not the hue name or darkness judged by eye.

Numerical results and what the numbers mean
Each row below uses the default settings and compares with the reference for its declared geometry. The reference is the quantized analytic normal field of Z = 4H, not a scanned physical surface.
| Input case | Declared geometry | RMS angle to authored reference (°) | Pixels >2 RGB levels from reference |
|---|---|---|---|
| flat-gray | flat | 0.000 | 0 |
| flat-dark-band | flat | 5.149 | 1792 |
| flat-light-band | flat | 5.149 | 1792 |
| flat-equal-proxy-colors | flat | 0.000 | 0 |
| relief-uniform-color | sine | 3.106 | 40544 |
| height-sine | sine | 0.158 | 0 |
| height-sine-offset | sine | 0.158 | 0 |
| height-sine-dim | sine | 1.664 | 32928 |
| height-sine-painted | sine | 2.965 | 10304 |
| flat-lighting-ramp | flat | 0.449 | 0 |
We measure the interior rectangle 16 ≤ x < 240 and 16 ≤ y < 240: 50,176 pixels. Decode each RGB triplet as normalize(2×RGB/255−1), calculate θ = acos(clamp(dot(output,reference),−1,1))×180/π, and report sqrt(sum(θ²)/50176). The pixel count uses max(|ΔR|,|ΔG|,|ΔB|) > 2 channel levels relative to that reference.
These are reference deviations under declared synthetic conditions, not a defect detector, physical accuracy percentage or benchmark against other tools. A count of zero does not mean every vector is identical: the lighting ramp has a one-level red change and a nonzero angular deviation. The analytic reference, finite differences, smoothing and 8-bit quantization also prevent interpreting a small nonzero error as failed geometry recovery. JSON and CSV keep raw precision; table angles are rounded to three decimals.
Why parameter changes do not resolve the ambiguity
| Input case | Strength | Smoothing (px) | RMS angle (°) | Pixels >2 RGB levels |
|---|---|---|---|---|
| flat-dark-band | 4 | 0 | 6.056 | 896 |
| flat-dark-band | 4 | 1 | 5.149 | 1792 |
| flat-dark-band | 4 | 8 | 2.514 | 8064 |
| flat-dark-band | 2 | 1 | 2.802 | 1792 |
| flat-dark-band | 0 | 1 | 0.000 | 0 |
| height-sine | 4 | 1 | 0.158 | 0 |
| height-sine | 4 | 8 | 0.363 | 0 |
| height-sine | 0 | 1 | 3.106 | 40544 |
| height-sine-dim | 4 | 1 | 1.664 | 32928 |
| height-sine-dim | 8 | 1 | 0.177 | 0 |
| relief-uniform-color | 20 | 8 | 3.106 | 40544 |
Smoothing the painted flat surface with radius 8 reduces angular RMS compared with radius 1, but spreads the changed region: 1792 pixels exceed the two-level threshold at radius 1, versus 8064 at radius 8. The boundary becomes broader and weaker; the tool has not recognized paint and removed it selectively.
Strength 0 removes the false paint-edge slopes, but also flattens the deliberately authored sine relief. Conversely, raising Strength cannot recover the uniform-color relief because its input has no gradient. These settings affect what the converter already inferred; they do not decide which variations represent shape.
There is a useful exception to an overly broad rule. For our known half-contrast height input, changing Strength from 4 to 8 brings the result closer to the declared reference. Here we know the affine relationship because we constructed it. The tool cannot infer that calibration from an unknown photograph, and one global strength cannot independently correct the painted band and preserve the rest of this surface.
Choose a source with an explicit height assumption
- Identify what each important boundary means. A known painted stripe or a cast shadow should not automatically become a geometric ledge. If you cannot distinguish them in the source, keep that uncertainty rather than calling the output a reconstruction.
- Prefer a deliberately authored height image when you need control over shape. The height input and analytic reference let you reproduce this small control case before trying your own material.
- Generate a normal map in the Normal Map Generator. Compare the input with the output and inspect the exact locations of color or lighting boundaries. Export is an original-size PNG; the tool does not remove lighting, infer albedo, add mesh geometry or produce a displacement map.
- Adjust Strength and Smoothing for a useful approximation only after accepting the source-height relationship. For fine-scale noise versus detail, use the separate controlled smoothing study. That question is different from deciding whether a mark represents height at all.
- Check the map in your intended material and choose its required direction convention. The green-channel test explains the available output switch; this experiment does not claim a renderer-specific compatibility result.
Keep the distinction in the final asset: a normal map estimated from a photograph can be useful without being measured geometry. A deliberate height input makes the assumption explicit. Neither a pleasing blue image nor a lower error in one synthetic case proves the shape of an unknown real surface.