Texture Maps
Texture Maps
Your map: OpenGL. Saves a DirectX copy (green channel flipped, PNG).
Controls
Viewer Controls
3D Model
Lighting
Texture Tiling
UV Controls
Background
Camera
Controls
- • One-finger drag: Rotate on touchscreens
- • Two-finger pinch: Zoom on touchscreens
- • Left drag: Rotate model
- • Right drag: Pan camera
- • Shift + Right drag: Rotate light horizontally
- • Scroll: Zoom in/out
- • F key: Fullscreen
- • S key: Export render (fullscreen)
More Free Studio Tools
Free browser tools for textures and 3D models. Nothing to install.
- Texture Channel Packer Pack AO, roughness, metallic and smoothness into ORM, RMA or Unity HDRP and URP mask textures. Preview channels and export PNG or 32-bit TGA.
- PBR Texture Generator Convert a color image or albedo map into normal, height, roughness and AO maps. Preview the PBR material in 3D and download PNG maps or a ZIP.
- Normal Map Generator from Image Create an OpenGL normal map from a photo, albedo, or color texture with an AI model in your browser. Export up to 4K as an 8-bit or 16-bit PNG.
- Normal Map to Height Map Convert a normal map to a height or displacement map online with Poisson reconstruction. Adjust intensity and export up to 4K as 8-bit or 16-bit PNG.
- Height Map to Normal Map Converter Convert an 8-bit or 16-bit grayscale height or displacement map to an OpenGL normal map online. Adjust strength and export up to 4K PNG.
- Ambient Occlusion Map Generator Generate an ambient occlusion map from a grayscale height or displacement map online. Adjust HBAO radius, contrast and intensity, then export up to 4K PNG.
- 3D Model Converter Convert FBX, OBJ, STL, glTF, 3DS, DAE and many more 3D formats in your browser. Keep textures and animation where supported, with no model upload.
- Online 3D Viewer Open STL, GLB, glTF, OBJ, FBX, STEP, 3MF and PLY files online for free. View 3D models with textures, edit PBR materials, light the scene and export renders.
Free PBR Textures
Download a free PBR texture and try it in this tool.
Free Asset Packs
Complete scenes with models and PBR textures in one download.
DirectX and OpenGL normal maps
DirectX and OpenGL normal maps hold the same surface detail, but their green channel points in opposite directions. In the wrong program, bumps look like dents and the light seems to come from below. Load your normal map here, switch between OpenGL and DirectX to see which one lights correctly, and download a converted copy. Everything happens in your browser.
How to check and convert a normal map
- Load the normal map into the Normal Map slot on the left. Add the albedo too if you like.
- Switch "This map is" between OpenGL and DirectX, and turn the model or the light. The right setting makes raised details catch the light from above, and tells you which format the map has.
- Click Convert to DirectX (or Convert to OpenGL) to save a copy in the other format: a PNG with the green channel flipped.
Which programs use which format
- OpenGL (Y+, green up): Blender, Unity, Maya, Godot, and glTF / three.js
- DirectX (Y−, green down): Unreal Engine, 3ds Max and CryEngine
- Red and blue are the same in both formats; only green is inverted
- Many texture sites offer both versions, often marked _GL / _DX or "OpenGL" / "DirectX" in the file name
Good to know
- Use a light from one side: wrong normals make the shading flip, which is easier to see than with flat front light.
- In the map itself, OpenGL normal maps usually look lit from above (the top edges of bumps are greener), DirectX ones look lit from below.
- The download is an 8-bit PNG, because browsers read images in 8 bits. For a 16-bit source, invert the green channel in your image editor or texture software instead.
- Instead of converting, you can also flip green inside many programs, for example with the "Flip Green Channel" option for a texture in Unreal Engine.
FAQ
What is the difference between DirectX and OpenGL normal maps?
Only the green (Y) channel. OpenGL normal maps store Y pointing up (Y+), DirectX normal maps store it pointing down (Y−). Converting one into the other means inverting the green channel.
How can I tell if a normal map is DirectX or OpenGL?
Light it from above: raised details should be bright on top. If bumps look like dents or lit from below, the map is in the other format. In this viewer, switch "This map is" between OpenGL and DirectX and keep the setting that looks right.
Does converting lose quality?
Red and blue stay exactly the same and green is inverted exactly. The only limit is the 8-bit PNG output.
How do I flip the green channel in Photoshop?
Open the Channels panel, select only the Green channel and press Ctrl+I (Image > Adjustments > Invert), then select RGB again and save.
Is it free, and is my file uploaded?
It is free, with no account and no watermark. Your images are read inside your browser and never leave your device.
More free PBR tools
The PBR Material Viewer previews albedo, normal, roughness, metallic, AO, height and opacity maps in real-time 3D. Need materials to test? Browse the free CC0 PBR textures.