R channel
Occlusion in ORM. White means no occlusion.
Constant value (no source image)
G channel
Roughness in ORM. Invert a gloss map only when that convention is correct.
Constant value (no source image)
B channel
Metalness in ORM. Black is non-metal.
Constant value (no source image)
A channel
Alpha is unused by ORM. Keep 255 unless your own material needs it.
Constant value (no source image)
Read a packed PNG
No packed PNG loaded
Each exported channel is an opaque grayscale PNG at the original dimensions. R, G and B values hidden behind transparent alpha are retained.
Your output
No current output.
Save the mapping receipt with your texture. It records each channel's source, constants, inversion and resampling, with no filenames.
Pack for the material you actually use
For glTF, roughness is read from G and metalness from B in the metallic-roughness texture. Occlusion is read from R through the occlusion texture binding. Both bindings can reference the same image, producing the common ORM layout. Packing pixels does not create those material bindings.
Select the source channel deliberately. A grayscale source repeats the same value in R, G and B; an already packed source may hold a different map in each channel. Invert is a simple 255-minus-value operation, useful for a known gloss-to-roughness conversion. It does not identify what the source represents.
Defaults are 255 occlusion, 255 roughness, 0 metalness and 255 alpha. These are this tool's starting choices, not a claim that all glTF material defaults are non-metallic.
Keep the numbers trustworthy
This tool reads non-interlaced 8-bit grayscale, grayscale-alpha, RGB and RGBA PNG samples directly. It ignores display colour metadata deliberately; it does not linearise or apply gamma. Palette, interlaced, 16-bit, animated PNG, JPEG and WebP inputs are not supported. Each file is limited to 20 MB and each edge to 2,048 pixels.
Mismatched dimensions are refused by default. Explicit nearest-neighbour resampling selects existing source pixels; it does not add detail or smooth masks. All sources must share the UV layout and orientation you intend to use.
Downloads are written from raw pixel values, so transparent RGB is retained. The browser preview may composite alpha and is not a shader preview. Use data/non-colour sampling in the destination material and check the actual surface.
Try the reproducible example
The original synthetic 64 x 64 example uses a horizontal red ramp (x times 4), a vertical green ramp (y times 4), an 8-pixel black-and-white checker in blue, and opaque alpha. At pixel (8, 16), the packed value is [32, 64, 255, 255]. Split the result to inspect each pattern separately.
The mapping receipt records output dimensions, source dimensions, channel choices, constants, inversion and the resampling rule. It contains no filenames. Your files, images and receipt stay in this browser.
Continue the material workflow
Technical reference: Khronos glTF 2.0 material specification. The sample is original synthetic data, not client work. PNG export is local and free, with no account required.
A quick visual guide
Texture Channel Packer
01Input
Pack selected PNG channels into RGBA or an ORM texture, split channels into grayscale maps, and download an exact 8-bit PNG with a mapping receipt.
02Adjust
Choose source PNGs and channels, set constants and inversion, then match dimensions or explicitly resample. Pack RGBA or split a PNG into four opaque grayscale channels.
03Check the result
Non-interlaced 8-bit grayscale, RGB and RGBA PNGs up to 2,048 pixels per edge and 20 MB each. Raw numeric samples are preserved; no gamma conversion or alpha premultiplication. The tool does not create material bindings.
Open each step for the practical check. Diagram, not a generated result.
XO3D Labs / Material channels
Texture channel packer
Give every channel a clear job. Pack occlusion, roughness and metalness into one ORM texture, choose a custom RGBA mapping, or split a packed PNG into separate grayscale maps.
Raw 8-bit PNG values. No colour-space conversion, no alpha premultiplication and no upload. Up to 2,048 pixels per edge.
Updated 9 November 2026 by XO3D Labs
Pack an ORM texture and check the result
Channel packing puts separate grayscale maps into the red, green, blue and alpha channels of one PNG. Use the ORM defaults or choose each source yourself, check the dimensions, export the file and keep the mapping receipt with your asset.
Pack an ORM texture in five steps
- Choose the sources. Load a grayscale PNG for each channel you need, or leave a channel on its constant value. "Use ORM channel defaults" sets red to occlusion, green to roughness and blue to metalness.
- Check what each channel means. Pick which channel of each source to read; a grayscale source holds the same value in R, G and B. Invert only when you know the convention is opposite, such as a gloss map going into roughness.
- Keep the dimensions. Sources of different sizes are refused by default. Resize them before you start, or choose nearest-neighbour resampling deliberately.
- Pack, then split the result to look at each channel on its own.
- Download the PNG and the mapping receipt, and keep them together. Packing writes pixels only: it does not create glTF texture bindings, so you still connect the texture in your material.
What goes in each channel?
With the ORM defaults, each output channel carries one map. The empty-source value is what the tool writes when you load no image for that channel.
| Output channel | ORM role | Empty-source value | Destination note |
|---|---|---|---|
| R | Occlusion | 255 (no occlusion) | glTF reads occlusion from R through the occlusion texture. |
| G | Roughness | 255 (fully rough) | glTF reads roughness from G of the metallic-roughness texture. |
| B | Metalness | 0 (non-metal) | glTF reads metalness from B of the same texture. |
| A | Not used by ORM | 255 (opaque) | Keep 255 unless your own material uses alpha. |
These empty-source values are this tool's starting choices, not universal glTF defaults. Both glTF material slots can point to the same packed image, but the export or material setup has to make that connection. See the glTF material channel definitions for the exact rules, and how material maps connect between tools.
Before export, check materials and export settings for the model, and plan texture resolution and memory before you pick an output size.
Check the sample before using production maps
Load the synthetic sample before you trust the tool with your own maps. It is original test data, not client work. Red is a horizontal ramp (x times 4), green is a vertical ramp (y times 4), blue is an 8-pixel black and white checker, and alpha is 255.
After packing, the pixel at (8, 16) should read red 32, green 64, blue 255 and alpha 255. Split the packed file and each pattern should come back on its own. The preview may blend alpha with the background, so judge the values, not the preview colour.
Supported files and deliberate limits
The packer reads PNG sample values directly in your browser and writes raw 8-bit values. It does no colour-space conversion and no alpha premultiplication, and the page states that files are not uploaded.
| Item | Contract |
|---|---|
| Input | Non-interlaced 8-bit grayscale, grayscale-alpha, RGB and RGBA PNG. |
| Refused input | Palette, interlaced, 16-bit and animated PNG; JPEG; WebP. |
| Size limits | 20 MB per file and 2,048 pixels per edge. |
| Pack dimensions | The output width and height you set. Sources of other sizes are refused unless you choose nearest-neighbour resampling. |
| Split dimensions | Each channel is written at the packed file's original size. |
| Output | Raw 8-bit PNG, plus a mapping receipt. |
| Unsupported file | Re-save it as an 8-bit, non-interlaced PNG in your image editor, then check the values have not changed. |
| Mismatched sources | Resize them to one size in your editor, or choose nearest-neighbour resampling and check the result. |
Nearest-neighbour resampling picks existing source pixels. It does not add detail or smooth a mask. Review any converted or resampled map before you use it, because data can be lost on the way.
Save the mapping receipt with your texture
The receipt is a small JSON file (channel-mapping.json). It records the output and source dimensions, which source channel went where, any constants, any inversion and the resampling rule. It contains no filenames.
Keep it beside the packed PNG so whoever sets up the material knows what each channel holds. It is a record of your choices. It is not a licence for the source images, proof of where they came from or a check that a shader reads them correctly.
Where to go next
- Paint a deliberate metalness mask before you pack it.
- Build and inspect a roughness map.
- Inspect the assembled material in a model viewer.
- Check the material handoff with the PBR checklist.
Guides for this tool
Frequently asked questions
What is channel packing?
Channel packing puts separate grayscale maps into the red, green, blue and alpha channels of one PNG. One image can then carry, for example, occlusion, roughness and metalness, and the material reads each map from its own channel. The data must line up on the same UV layout.
What does ORM mean?
Occlusion, roughness and metalness, packed into the red, green and blue channels of one texture.
Can I split a packed PNG?
Yes. Choose Split, load the PNG and download four opaque grayscale PNGs, one per channel, at the original dimensions.
Why was my PNG refused?
The packer reads non-interlaced 8-bit grayscale, grayscale-alpha, RGB and RGBA PNGs up to 20 MB and 2,048 pixels per edge. Palette, interlaced, 16-bit and animated PNGs, JPEG and WebP are refused.
What happens when dimensions differ?
Packing stops by default. You can choose nearest-neighbour resampling, which repeats or drops existing pixels to fit the output size. It adds no detail.
Does this create a glTF material?
No. It writes pixels into channels. You still connect the texture to the occlusion and metallic-roughness slots in your material or export settings.
Why can the preview look different with alpha?
The browser preview may blend the image with transparency. The download keeps the raw values, including colour hidden behind transparent alpha.