Instant browser channel converter

OpenGL to DirectX Normal Map Converter (Flip Green Channel)

Flip any tangent-space normal map between OpenGL (+Y) and DirectX (−Y) locally on HTML5 Canvas—with optional X-axis inversion, unit-length Z renormalization, and lossless PNG export.

Flip normal map green channel

Free up to 2K · Pro Local $29 once

Client-side Green-Channel Converter Ready
Local CanvasZero server uploads
Before vs After (Live Canvas)384 × 384px · 8-bit linear PNG
Input Normal Map
Converted Output (DirectX −Y)
Avg RGBR 128 · G 127 · B 247
Green InversionActive (255 − G)
Blue Z VectorPreserved
Sample loaded · 100% client-side Canvas processing ready

Invert the green channel (255 − G) deterministically with zero uploads

Moving 3D textures between Blender, Unity, Godot, Three.js, Unreal Engine 5, 3ds Max, and Substance Painter almost always comes down to a single channel difference: OpenGL encodes vertical surface slope as +Y (top-lit green), while DirectX encodes it as −Y (bottom-lit green). When the convention is wrong, recessed bolts look raised and beveled panels shade from the opposite direction of your light source.

Instead of launching a heavy desktop image editor, splitting RGB channels manually, and hoping you did not alter color profiles, drop your normal map straight into the local Canvas converter above. It reads the pixels inside your browser, applies an exact per-pixel 255 − G inversion on the green channel, shows live Before and After previews plus channel averages, and exports a clean 8-bit PNG in one click.

Local generation runs inside this browser. Your source image is not sent to Normal Map Studio, FAL, or another model provider unless you deliberately open an AI workflow and confirm the upload disclosure.

  • Instant OpenGL (+Y) → DirectX (−Y) and DirectX (−Y) → OpenGL (+Y) conversion in browser.
  • Optional Red (X) channel flip for mirrored bake edge cases and legacy game engines.
  • Optional Blue (Z) unit-length renormalization to repair flattened or heavily edited normal maps.
  • Zero server uploads—safe for licensed Megascans, client assets, and unreleased studio art.

OpenGL (+Y) vs DirectX (−Y) engine conversion table

Confirm which direction your destination engine expects before downloading so you keep one clean standard across every folder in your project.

When to convert between OpenGL (+Y) and DirectX (−Y)
Source → DestinationConversion NeededChannel Operation
Blender / Unity / Godot → Unreal Engine 5OpenGL (+Y) → DirectX (−Y)Invert Green (255 − G); leave UE5 Flip Green Channel off
Unreal Engine 5 / 3ds Max → BlenderDirectX (−Y) → OpenGL (+Y)Invert Green (255 − G); set Blender Color Space to Non-Color
Substance Painter (DX) → Unity / Three.jsDirectX (−Y) → OpenGL (+Y)Invert Green (255 − G); Unity Texture Type: Normal map
Quixel / Poly Haven (DX) → Godot / RobloxDirectX (−Y) → OpenGL (+Y)Invert Green (255 − G); Godot Normal Map: Enable/Detect
Any Engine → glTF 2.0 / RealityKitEnsure OpenGL (+Y)glTF 2.0 & USDZ strictly require +Y top-lit green channels

When to enable Blue (Z) unit-length renormalization

Standard OpenGL-to-DirectX conversion only flips Green (Y) and leaves Red (X) and Blue (Z) untouched, which is lossless and reversible. However, if a normal map was previously compressed with heavy BC5 artifacts, painted over by hand, or had its blue channel zeroed out by a game engine unpacker (such as yellow/red two-channel normal maps), enabling Recompute Blue / Z vector recalculates Z = sqrt(1 − X² − Y²) for every texel so every direction vector returns to exact unit length.

This standalone converter exports lossless PNGs up to 2K for free right in your browser. If you need to generate full coordinated normal, height, AO, and roughness sets from raw images—or batch-export 4K/8K seamless PBR texture packs—open our full PBR Texture Generator or unlock Pro Local ($29 one-time) for 8K single PNGs, 4K ZIP/batch queues, and ORH channel packing.

How to verify your converted normal map in five seconds

Look closely at a raised bump—like a rivet, pebble, or the built-in dome sample above. In an OpenGL (+Y) map, the top rim of each raised bump glows bright green/cyan and the bottom rim looks purple/magenta. In a DirectX (−Y) map, that flips cleanly: the bottom rim glows bright green/cyan and the top rim looks purple/magenta.

After downloading the converted PNG, import it as linear / Non-Color data in your engine and ensure no engine-side Flip Green Channel checkbox is still enabled from earlier debugging—otherwise you will flip the channel twice and end up back where you started.

Questions about converting OpenGL and DirectX normal maps

Clear answers about green-channel flipping, quality preservation, and engine pipelines.

Does converting OpenGL to DirectX lose texture quality?

No. Inverting an 8-bit green channel (255 minus G) and saving as lossless PNG is mathematically exact and completely reversible without degrading detail.

Is OpenGL to DirectX the exact same operation as DirectX to OpenGL?

Yes. Flipping the green channel once turns OpenGL (+Y) into DirectX (−Y), and flipping it again turns DirectX (−Y) back into OpenGL (+Y).

When should I check Recompute Blue / Z vector?

Enable it only if your input normal map has a missing, flat, or corrupted blue channel (for example, unpacked BC5 two-channel normals). For healthy RGB normal maps, leave it off.

Are my normal maps uploaded to a server during conversion?

Never. All pixel math runs on a local HTML5 Canvas inside your browser tab, so large textures convert instantaneously and remain private.

Why would I ever flip the Red (X) channel of a normal map?

Almost all modern engines agree on +X pointing right, so leave Red untouched for standard Blender, Unity, Unreal, and Godot swaps. Only enable Invert Red if converting from a legacy renderer or custom shader with mirrored horizontal tangent space.

Clean naming conventions for multi-engine texture repositories

One of the easiest ways to prevent recurring lighting bugs across mixed studio pipelines—for example, modeling and look-dev in Blender while delivering final levels in Unreal Engine 5—is to encode the green-channel polarity right in the filename. Suffixing exported textures with _normal_gl.png for OpenGL (+Y) and _normal_dx.png for DirectX (−Y) lets every artist, technical animator, and automated import script verify orientation at a glance without inspecting individual pixels.

Keep this converter bookmarked whenever pulling stock textures from mixed marketplaces where some packs ship in DirectX and others in OpenGL. A single five-second green flip keeps your entire material library unified and bug-free.