Skip to content

Channel Packing

Channel packing is the process of combining multiple single-channel images into a single RGB image, often used in game development to improve performance.

As an example, these three maps representing Ambient Occlusion, Metal, and Roughness from this Dartboard model on PolyHaven can be combined into a single asset.

Ambient Occlusion MapMetal MapRoughness Map

Packing these three, where Ambient Occlusion = Red, Metal = Green, and Roughness = Blue will result in this:

Packed Map

You can only pack images that can be represented by a single color channel (the source must be grayscale or have meaningful data in only one channel).

Packing can be done very quickly using Nodes in PixiEditor.

  1. Open one of your maps in PixiEditor.

  2. Paste your other maps into the opened document and keep them on separate layers.

  3. Open the Node Graph by clicking the button at the top center of the window or by going to View -> Open Tab -> Graph View.
    You should see a Node Graph like this:

  4. For each Layer node, disconnect the Background input so the layers are not put together.

  5. Open the Node Picker (right-click or press Space) and add a Combine Channels node.

  6. Connect the Combine Channels node to the Output node.

  7. Connect each layer to its respective channel on the Combine Channels node.
    Your graph should end up looking like this:

That’s it. You can now export your packed map using File -> Export and use it wherever you need.

You can also unpack a packed map using Nodes.

  1. Open your packed map in PixiEditor.

  2. Open the Node Graph by clicking the button at the top center of the window or by going to View -> Open Tab -> Graph View.

  3. Open the Node Picker (right-click or press Space) and add a Separate Channels node, and enable the Grayscale option (otherwise, each map will be tinted red, green, or blue).

  4. Connect the Layers output to the Image input of the Separate Channels node.

  5. Create a Custom Output node for each channel you want to extract.

  6. Name each output accordingly.
    Your graph should end up looking like this:

Unpacked Graph

You can now export each map using File -> Export, then select the map you want to export.

All maps used in this tutorial are from the Dartboard model https://polyhaven.com/a/dartboard on PolyHaven

Files: DartboardPacked.pixi and DartboardUnpacked.pixi


All of our content is carefully written by hand, no AI was involved during the process.