Combine grayscale metallic, roughness, and AO maps into one RGBA image, or split a packed texture back into channels. Includes layout presets for Unity, Unreal Engine, and glTF.
This tool runs entirely in your browser. What you enter is never sent anywhere.Your input is never sent anywhere.
DetailsPacked preview
The alpha channel shows up as transparency in this preview. The downloaded PNG stores the R, G, B, and A values as packed.
Output settings
Output size
Resize method
Channel layout preset
Metallic
Ambient Occlusion (AO)
Detail Mask
Smoothness
Combine Metallic, Roughness, and AO Maps into One RGBA Texture
This tool packs grayscale maps such as metallic, roughness, and ambient occlusion (AO) into the red, green, blue, and alpha channels of a single PNG. It runs in your browser and includes layouts for the Unity HDRP Mask Map, Unity Metallic + Smoothness, Unreal Engine ORM, and glTF 2.0 ORM, so you do not have to look up which channel holds what.
It also works in reverse. Drop in a packed texture and it splits the R, G, B, and A channels into four grayscale images you can inspect or edit one at a time.
Unity reads smoothness, while Unreal Engine and glTF read roughness. Each channel has an Invert (255 − value) switch, and there is a separate Invert tab for converting one image.
When to Pack, Unpack, or Invert a Texture
Exported separate maps from Substance 3D Painter or Designer
Combine the Metallic, Roughness, and AO exports into one Unity Mask Map or one ORM texture for Unreal Engine or glTF.
Moving an asset or avatar between engines
Switch the layout preset, turn on Invert where roughness and smoothness are swapped, and repack the maps into the layout your target engine expects.
Checking what is inside a downloaded ORM or mask map
Open the Unpack tab, drop in the texture, and view or download the R, G, B, and A channels as separate grayscale images.
Converting a roughness map to smoothness (or back)
Use the Invert tab to flip a single image with 255 − value and download the result as a PNG.
How to Build an ORM or Mask Map in 4 Steps
- In the Pack tab, choose a layout preset: Unity HDRP Mask Map, Unity Metallic + Smoothness, Unreal Engine ORM, glTF 2.0 ORM, or Custom.
- Drop a grayscale image on each channel slot, or click to browse. A slot with no image is filled with a constant value you set with the Fill value slider.
- If a map uses the opposite convention (roughness where the layout expects smoothness, or the reverse), turn on Invert for that channel. Use the source dropdown if a map should be read from a single color channel.
- Pick an output size, check the preview, and select Download packed PNG.
Note: To split an existing packed texture, switch to the Unpack tab. To flip one image without packing, use the Invert tab.
Before You Export: Limits and Settings to Check
- Everything runs in your browser. The images you choose are not sent to our server.
- Packed textures download as PNG only. To get DDS, KTX2, or another compressed format, convert the PNG in your engine's import settings or another tool.
- If your source images have different resolutions or aspect ratios, they are resized to the output size and stretched to fit. Match resolutions first for the cleanest result.
- The presets follow common conventions. Your shader or material setup may expect a different layout, so check its documentation.
- The preview shows the alpha channel as transparency. The downloaded PNG stores the packed R, G, B, and A values directly.
- Unpacking reads the file through the browser's canvas. If your packed texture uses the alpha channel, color values in low-alpha areas may not come through exactly, so compare the previews with your source maps.
- Download all 4 channels starts four file downloads in a row, and your browser may ask you to allow multiple downloads.
Channel Layouts for Unity, Unreal, and glTF
The usual R, G, B, and A assignments for each engine and format. The presets in this tool follow the same layouts.
| Format / engine | R | G | B | A |
|---|---|---|---|---|
| Unity HDRP Mask Map | Metallic | AO | Detail mask | Smoothness |
| Unity Metallic + Smoothness (Standard, URP Lit) | Metallic | Unused | Unused | Smoothness |
| Unreal Engine ORM | AO (Occlusion) | Roughness | Metallic | Unused |
| glTF 2.0 ORM | Occlusion (optional) | Roughness | Metallic | Unused |
About the name ORM:
ORM stands for Occlusion, Roughness, Metallic, in the order R, G, B. Unreal Engine setups and glTF use the same order, so one ORM image is easy to reuse between them.
Note: this table shows common conventions. A custom shader or project setup can assign channels differently, so check the documentation for the shader you use.
Packing Basics: Memory, Layouts, and Color Space
A short primer for reusing textures between Unity, Unreal Engine, and glTF.
Why pack maps: less memory and fewer texture lookups
Metallic, roughness, and AO each need only one grayscale value per pixel. Storing them in the channels of one RGBA image means one texture instead of up to four, which reduces texture memory and the number of texture samples a shader makes. That matters most on mobile and VR projects where budgets are tight.
Why Unity, Unreal, and glTF disagree on channel order
Each engine defines its own layout. A Unity HDRP Mask Map uses R = metallic, G = AO, B = detail mask, A = smoothness. An Unreal ORM texture uses R = AO, G = roughness, B = metallic, and glTF 2.0 reads roughness from G and metallic from B. When you move a texture between engines, repack the channels instead of renaming the file.
Roughness vs. smoothness: when to invert
Higher roughness means a rougher, duller surface. Higher smoothness means a glossier one. They are opposites, so smoothness = 255 − roughness on an 8-bit image. If you feed a roughness map into a smoothness channel without inverting it, shiny and matte areas swap places.
Import mask maps as linear data, not sRGB
A packed map holds numbers, not colors. In the engine's texture import settings, turn sRGB off so the values are read as linear data. Leaving sRGB on makes metallic, roughness, and AO read brighter or darker than you authored them, even when the packing itself is correct.
Common Packing Mistakes and Fixes
The mask map is imported as sRGB and looks too bright or dark
The packed texture was imported with the default color settings, so the engine applies a gamma curve to values that should be read as they are. Metallic, roughness, or AO then look off.
💡 See the solution▼
Roughness goes into a smoothness channel without inverting
A roughness map made for Unreal Engine was placed in Unity's smoothness channel as is, so surfaces that should be glossy look matte and the other way around.
💡 See the solution▼
Source maps have very different resolutions
A 512 px metallic map and a 2048 px AO map were packed together. The smaller map was enlarged to the output size and came out blurry.
💡 See the solution▼
The packed texture was re-saved as a JPEG
After packing, the texture was opened in another editor and saved as JPEG. Lossy compression adds noise to every channel, and metallic or roughness values come out blotchy.
💡 See the solution▼
You can't remember which channel holds which map
Months later, you open a packed texture to fix one map and no longer know whether AO is in R or G, so you have to inspect the file first.
💡 See the solution▼
FAQ: ORM Textures, Mask Maps, and Smoothness
Q.What is texture channel packing, and why use it?
A. Channel packing stores several grayscale maps, such as metallic, roughness, and ambient occlusion (AO), in the red, green, blue, and alpha channels of one RGBA image. One packed texture can replace up to four separate files, which reduces texture memory and the number of texture lookups a material needs. Real-time engines such as Unity and Unreal Engine use this approach widely.
Q.What is an ORM texture?
A. ORM stands for Occlusion, Roughness, Metallic. In the usual layout, red holds AO, green holds roughness, and blue holds metallic. Unreal Engine materials commonly follow this convention. glTF 2.0 reads roughness from the green channel and metallic from the blue channel of its metallicRoughnessTexture, and occlusion from the red channel of its occlusion texture, so one ORM image can serve all three.
Q.What is the channel layout of a Unity HDRP Mask Map?
A. According to Unity's HDRP documentation, red stores metallic, green stores ambient occlusion, blue stores the detail mask, and alpha stores smoothness. Pick the Unity HDRP Mask Map preset and the tool labels each slot for you. Import the finished file as linear data (sRGB off) so Unity reads the values correctly.
Q.How do I convert a roughness map to a smoothness map?
A. Smoothness is the inverse of roughness: on an 8-bit image, smoothness = 255 − roughness. In the Pack tab, turn on Invert for the channel that holds the roughness image. To convert a single image, use the Invert tab and download the result.
Q.Are my images uploaded to a server?
A. No. Packing, unpacking, and inverting all run in your browser, and the files you choose are not sent to our server. Closing or reloading the page clears them.
Q.How do I split a packed texture back into separate maps?
A. Open the Unpack tab and drop in the packed image. The tool shows the R, G, B, and A channels as separate grayscale images, and you can download each one or all four at once. If the file has no alpha channel, the A preview is solid white.
Q.What output formats and sizes are supported?
A. Packed textures download as PNG only. For size you can choose Auto, which uses the largest width and the largest height among your images, or a square preset of 256, 512, 1024, 2048, or 4096 px. To get DDS, KTX2, or another compressed format, convert the PNG in your engine's import settings or another tool.
Q.What happens if my source maps have different resolutions?
A. Every image is resized to the output size. Smooth resizing interpolates between pixels, while Nearest keeps hard pixel edges. If the aspect ratios differ, images are stretched to fit, so match your source resolutions before packing when you can.
Q.Which channel of my source image does the tool use?
A. By default, each slot converts the image to grayscale using 0.299 × R + 0.587 × G + 0.114 × B. You can switch a slot to read only the red, green, blue, or alpha channel of the source image instead.
Q.Why does my packed texture look wrong in the engine?
A. The most common cause is color space. Mask and ORM textures hold data, not color, so import them as linear with sRGB turned off. Also check that roughness and smoothness are not swapped, and that the file was not re-saved as a JPEG.
Your feedback
makes this tool better.
Tell us which features you'd like, what should be fixed, or which new tool you'd like to see. An engineer reads every submission and uses it to guide development.