Losslessly invert the Green (Y) channel of any tangent-space normal map between DirectX (-Y) and OpenGL (+Y) with live 3D shading verification.
100% Local Browser Canvas/WebGLZero Server UploadsUp to 4K PNG & PBR ZIP
Samples:
Converted Normal Map (OpenGL +Y)512 x 512
3D Shading VerificationDrag to Orbit
Procedural Brick Wall (DirectX -Y Normal)512 x 512 px · Lossless Green (Y) channel inversion in browser
2.5
Lossless Green Channel (Y) Inversion Between DirectX and OpenGL
Inverting the Green (Y) channel via G_out = 255 - G converts tangent-space normal maps losslessly between DirectX (-Y) and OpenGL (+Y) without altering X or Z vectors.
When you bring an asset downloaded for Unreal Engine into Blender, Unity, or Godot—or move a Substance Painter DirectX bake into Three.js—an unflipped green channel causes bumps to look sunken and lighting highlights to appear upside down. Drop your normal map PNG/JPG above with Lossless Green Flip Mode enabled to invert G = 255 - G at full native resolution up to 4096 x 4096 pixels with zero re-compression blur.
DirectX (-Y) vs OpenGL (+Y) Quick Engine Conversion Table
Converting between engines only requires flipping the Green (Y) channel; Red (X) and Blue (Z) remain identical across standard tangent-space workflows.
Check the engine orientation matrix below to confirm whether your destination engine expects OpenGL (+Y) or DirectX (-Y) green channel polarity.
Source Engine / Export
Destination Engine
Required Action
Green (Y) Formula
Unreal Engine / 3ds Max (DirectX -Y)
Blender / Unity / Godot / Three.js (OpenGL +Y)
Flip Green Channel
G_out = 255 - G_in
Blender / Unity / Godot (OpenGL +Y)
Unreal Engine 5 / 3ds Max (DirectX -Y)
Flip Green Channel
G_out = 255 - G_in
Substance Painter DirectX Template
Roblox Studio / Babylon.js (OpenGL +Y)
Flip Green Channel
G_out = 255 - G_in
OpenGL (+Y) Asset
Unity / Blender / Godot (OpenGL +Y)
Keep Unchanged
G_out = G_in
Frequently Asked Questions
These technical answers cover common PBR channel formats, browser performance limits, and 3D engine import rules.
Why do DirectX and OpenGL normal maps look inverted in different engines?
DirectX normal maps (used by Unreal Engine and 3ds Max) invert the green channel (-Y pointing down), while OpenGL normal maps (used by Blender, Unity, Godot, and Three.js) store +Y pointing up. Flipping Green converts G to 255 - G.
Does this converter modify X/Z normals or re-blur my baked map?
Yes. When Lossless Green Flip Mode is enabled, the converter reads your uploaded RGB pixels directly and computes G_out = 255 - G_in without re-filtering X or Z channels, preserving 100% of your baked tangent-space detail.
How can I tell visually if a normal map is OpenGL or DirectX?
Look at the top edge of a raised bump in the image: in OpenGL (+Y), the top edge of a bump is bright green (~#80FF80); in DirectX (-Y), the top edge of a bump is magenta/dark green (~#800080).
Can I also convert OpenGL normal maps to DirectX?
Yes. Simply set Target Normal Convention to DirectX (-Y Down) and check Manual Invert Green (Y) to flip an OpenGL map into DirectX format.
Complete Browser PBR Texture Suite
Every texture generator in this suite shares the same zero-upload client-side pipeline so you can build full PBR materials in one session.
No notes yet. Ask a question about Blender, Unity, Unreal Engine 5, or Godot channel import below.