MATERIAL WORKFLOW / NORMAL MAPS
OpenGL vs DirectX normal maps: what actually changes?
Technical review: · Page structure updated: .
Already have a normal map? The Normal Map Flipper converts an existing file by flipping green only. This is separate from the photo-derived generation experiment below.
Choose the normal-map convention expected by the material that will read your file. In AwesomeTexture, changing OpenGL to DirectX complements the green channel: each green value becomes 255 minus its previous value. Red, blue and alpha stay the same. It changes a direction convention, not the amount of detail in the source.
Generate and compare the two exports in the Normal Map Generator.
That distinction matters when a surface lights incorrectly. A convention mismatch is one possible cause; it is not a diagnosis for every dent, seam or strange highlight. The image may contain unsuitable height information, or the receiving material may interpret the texture incorrectly. Start by changing one thing at a time.
Choose an output for your material
Start with the receiving material’s normal-map setting or documentation. If it specifies OpenGL (+Y), export OpenGL; if it specifies DirectX (−Y), export DirectX. A project can change import settings, so this guide does not assign a universal convention to every application.
If the expected setting is unclear, save both versions and compare them in the same material under the same light. Keep UVs and import settings fixed, then retain the version that matches the project’s known surface orientation. AwesomeTexture has no built-in lit 3D viewer or automatic renderer detection. An unlit blue-purple image alone cannot settle that material check.
The same wood, exported twice
The browser experiment was recorded on 9 November 2026. We used the original 1024 × 1024 diffuse image from Poly Haven's Wood Floor Deck, available under its CC0 asset license. This is a color texture, not a measured height scan. The tool estimates height from brightness, so the result is a starting point rather than a reconstruction of the boards.

Both runs used Normal Strength 4, Smoothing 1 px and Tileable Sampling off. Only the direction selection differed. We downloaded both files through the tool's actual Download PNG control, then decoded the saved PNGs and compared every channel at every coordinate.
| Measurement | Actual result |
|---|---|
| Dimensions of each export | 1024 × 1024 px |
| Pixels compared | 1,048,576 |
| Green values differing from the other export | 1,048,576 |
| Maximum error in G_DirectX = 255 − G_OpenGL | 0 |
| Changed red, blue or alpha values | 0 |
Those are measurements of these two files, not an accuracy rating. Every green value changes because an integer stored in an eight-bit channel cannot equal its own complement around 127.5. Even a nearly flat region can move from green 128 to green 127; that small difference is consistent with the conversion.


Reproduce the comparison
- Open the Normal Map Generator, then choose the source image above. JPG, PNG and WebP are accepted by this tool.
- Set Normal Strength to 4 and Smoothing to 1 px. Leave Tileable Sampling unchecked so that it does not become another variable.
- Select OpenGL (+Y). Wait for the Ready status, then download the PNG.
- Change only the direction to DirectX (−Y). Wait for the new Ready status and save the second file.
- Compare the pair in the same receiving material, with the same light, UVs and import settings. Follow that renderer's documentation for normal-map interpretation.

The fifth step is a recommendation, not a result from an engine benchmark in this article. We verified the exports and their channel relationship in a browser. We did not run this pair through every renderer, and a software name alone does not establish the settings of a particular project.
Direction, strength and height are different decisions
Changing direction leaves the red and blue data untouched in this implementation. Changing strength does something else: it scales the estimated height slopes before the normal vector is normalized. In a separate export of this wood image, increasing strength from 4 to 8 changed the output pixels (strength-8 PNG). Raising Smoothing from 1 to 4 px also produced a different file (smoothing-4 PNG), because it changes the height field before those slopes are calculated.
Do not use the direction selector as a substitute for either adjustment. It also does not reverse the brightness-to-height assumption in both axes. If dark paint is being treated as a depression, switching the green convention cannot turn a color photograph into a trustworthy height map.
There is another input trap. This generator reads its uploaded image as a height estimate; it is not an editor for converting an existing blue-purple normal map. Uploading an existing normal map here would interpret its colors as height and generate a different map. For an already-generated normal map, use a tool specifically intended to flip its green channel, or the appropriate import option in your rendering software.
A controlled export, then a material check
Keep the source and all generation settings fixed while checking direction. Once the convention matches your material, adjust strength and smoothing for the source you actually have. Save the full-size PNG and inspect the shading in the final project before relying on it for a close-up surface.
The downloadable evidence pair is OpenGL and DirectX. Their input hash, parameters, PNG hashes and decoded-pixel hashes are recorded in the accompanying test manifest. The comparison checks implementation consistency; it does not establish the physical depth of the wood.
Display figures use proportional WebP copies, with no crop. Their full frame and download links are retained; the channel measurements above use the original PNG files, not the display copies.