---
description: >-
  Modo is a polygon and subdivision surface modeling, sculpting, 3D painting,
  animation and rendering package.
---

# Modo

Modo natively supports GLTF, read more about it here.

{% embed url="https://learn.foundry.com/modo/content/help/pages/preferences/pref_fileio.html#GLTF" %}

## GLTF Export Tutorial

{% embed url="https://www.youtube.com/watch?v=2k6HFNiwRhQ" %}



## Bake and Export Guide

Note: Steps 1 – 2 will need to be followed for both file format exports

#### **1. Mesh Components**

Set all mesh components’ Object Type to “**Mesh**”.

An easy way to identify the object type is by the geometry icon color:

![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines32.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines32.png)

* Grey denotes Static mesh
* Blue denotes Mesh
* Pink denotes a mesh instance

To convert to Mesh, select the asset in the scene hierarchy

![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines33.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines33.png)

Then, right click on the selected asset and select**Change Type** → **Mesh**

![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines34.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines34.png)

Setting the geometry component to “Mesh” will ensure the geometry is exported.

After we have ensured that we have mesh components we need to make sure that any mesh smoothing applied in the surfaces properties is applied via a mesh operation. The Mesh Smoothing applied in the surface properties is equivalent to a mesh smooth approximation. The geometry isn’t really created so it can not be exported. The freeze command also fails to capture these details. In order to capture the smoothing operations applied in the surface properties we must apply a mesh smoothing operation for every smoothing level found in the surface properties.

![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/01\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/01_Modo.png)

In order to be able to export the smooth mesh, the subdivision must be applied via a Mesh Operation. Before we add the Mesh Operations it is recommended to change the subdivision to 0. Be sure to make a note of the subdivision level prior to setting it to 0. This number will be the number of Mesh Operations we need to apply to the mesh component. The Mesh Operations window can be found by right clicking on your component and selecting “Add Mesh Component”.

![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/02\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/02_Modo.png)

In the Mesh Operation window search for “Subdivision” and select Mesh Operation/ Polygons Subdivide. We must add a subdivision operation for every subdivision level found in the mesh surfaces properties. This operation is stackable and editable, until the freeze operation is applied. Modo allows you to keep the original modifier stack via the duplicate and freeze operation.

![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/03\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/03_Modo.png)

After we have frozen and applied the subdivision operations we are ready to move on to the next step!

#### **2. Baking**

In order to export complex materials successfully, we must bake out the maps per component. The texture maps rendered during the bake operation are Diffuse, Normal, Roughness, and Metallic.

**Note:** Baking will be required if complex materials are used (i.e. Blending Textures, Recoloring, Texture Transforms, and/or Blending texture against a materials input value).If complex materials are not used, please proceed to the desired file format recommended material section.

**A) Select the mesh component**:

Select the mesh component for baking from the Scene Outliner.

![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/01\_Section2\_A.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/01_Section2_A.png)

**B) Bake Texture Channel**:Then right click on the same component and select **Bake** → **Bake Texture Channel** from the context menu.

![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines36.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines36.png)

**C) Apply Bake Settings**:A dialog menu will open. Use the below settings for baking:

![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines14.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines14.png)

* **Use Current UV** – only use if the component has UVs laid out that are not overlapping.
  * If “Use Current UV” is not enabled, the UV name will be the name of the UV channel to be created.
* **Generate Atlas UV** – will atlas our UVs ensuring no overlaps.
* **Packs UVs** – packs into 0-1 space.
* **Add Image Maps to Shader Tree** – will place bakes in the Modo Shader Tree.
* **Bake** – Baking will not occur if not enabled. This can be useful if you are seeking to lay out the UVs.
* Channel – select the channel to bake out. Using this tool, we can bake out our Diffuse, Normal, Roughness, and Metallic maps.

![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines15.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines15.png)

Once all settings are applied, select **OK**.

**D) Save Location:** A dialog window will open. Input the location to save the folder to and select **OK**.

Modo will perform the bake operation on the desired channel. Once baking is completed, we will see a new folder in the Shading Tree called “Baked” that contains an item with the components name.

![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines16.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines16.png)

Modo will save each channel after each bake within this item group.

![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines17.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines17.png)

**E) Adjust Layer Effect:** Once baking is complete, change the **Layer Effect** type to the same type listed in the new component name within the Bake item group.Example:Object\_1\_rough (component name) = Roughness (layer effect)Object\_1\_metallic (component name) = Metallic (layer effect)

![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines20.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines20.png)

**Note:** if you are using tiled materials and do not want to atlas your objects. You can create a plane in the viewport and assign your material to that. Baking from the plane will create a Tiled texture based on texture transforms and blending effects applied. Apply the textures in the same way outlined below. After each bake ensure to rename the plane to avoid saving over previous bakes.

#### **2.5 Advanced Baking**

If your mesh components have multiple UV sets or you’re using displacement that you would like to convert into a normal map, we will need to use Modo’s Baking Wizard to bake out our materials.

Note: Avoid using Dynamic Material layers. Dynamic Layers include any material layer that is sourcing scene information. A good example of this is the gradient layer. The input parameter can be set to something that uses camera information, like Incidence, which will not bake out. It is recommended to set this to use the Group Mask or another non-dynamic input parameter.

_Gradient Layer set to Incidence:_

![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/04\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/04_Modo.png)

_Gradient Layer revised to Group Mask:_

![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/05\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/05_Modo.png)

After we ensure no dynamic layers are not used, we can move onto the bake process. Below are the baking steps.

1.  Duplicate the mesh component and rename it (as seen below).

    ![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/06\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/06_Modo.png)
2.  Clear the UV Channels on the duplicated mesh.

    ![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/08\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/08_Modo.png)
3.  Create new UVs for the duplicated component.

    ![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/09\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/09_Modo.png)
4. Layout the UVs. Below are the automated steps to layout the UVs.
   1.  Use the UV Projection Tool to quickly layout the UVs (result pictured below). This tool allows us to easily get non-overlapping UVs, however, using this tool can potentially create UVs that will produce bake errors. It is recommended to manually layout your UVs for the best results.

       _UV Project Tool used to auto unfold the component:_

       ![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/11\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/11_Modo.png)
   2.  Then use Fit within the Modify tool group to maximize the UVs within the space. The default settings should be suitable.

       _Without Fit tool used:_

       ![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/12\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/12_Modo.png)

       _With Fit tool used:_

       ![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/13\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/13_Modo.png)
   3.  Then use Pack within the Modify tool group to maximize the texel density of the mesh component. Default Settings should be suitable.

       ![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/15\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/15_Modo.png)

       _Without Pack tool used:_

       ![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/14\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/14_Modo.png)

       _With Pack too used:_

       ![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/16\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/16_Modo.png)
5.  Then, clear UV Vertex Maps from the Source mesh (as seen below).

    ![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/17\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/17_Modo.png)
6. Next, adjust the Render Settings for the Diffuse and Roughness maps to the below settings. These settings need to be set before starting the bake process.
   1. Reflection Samples: 32
   2. Refraction: 32
   3. Subsurface: 32
   4. Direct Light Samples: 32
   5. Shadows: Off
   6.  **Micropoly Displacement: Off**

       _Adjusted settings within the Settings panel:_

       ![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/18\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/18_Modo.png)

       _Adjusted settings within the Global Illumination panel:_

       ![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/19\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/19_Modo.png)
7. Then, adjust the Render Settings for the Normal maps to the below settings. These settings need to be set before starting the bake process to ensure any displacement is baked into the normal map.
   1. Reflection Samples: 32
   2. Refraction: 32
   3. Subsurface: 32
   4. Direct Light Samples: 32
   5. Shadows: Off
   6. **Micropoly Displacement: On** → this will increase bake time
   7.  Global Illumination: Off

       _Adjusted settings within the Settings panel:_

       ![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/20\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/20_Modo.png)

       _Adjusted settings within the Global Illumination panel:_

       ![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/21\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/21_Modo.png)
8.  Hide all mesh components.

    ![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/22\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/22_Modo.png)
9.  Use the Bake Wizard to bake out each mesh component. This is time consuming.

    ![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/23\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/23_Modo.png)

    1. Once the Baking Wizard is activated, the Baking Wizard window will open. Use the below recommended bake settings:
       1. Resolution:
          1. Width: 2048
          2. Height: 2048
       2. UV: Select the UV channel of the target UV set.
       3. Cage: None
       4. Target Material: None
       5. Bake Hidden Target Meshes: Enabled
       6. Bake Hidden Source Meshes: Enabled
       7. Bake Hidden Outputs: Enabled
       8.  Use Current Normal Map Preset: Enabled

           ![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/24\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/24_Modo.png)
    2. In the Next Step, set the Source and Target meshes:
       1. Source mesh: The original mesh component
       2.  Target mesh: The mesh we duplicated and created a new UV channel for

           ![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/25\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/25_Modo.png)
    3. In the Next Step, set the Texture outputs. We will need to perform 2 different bake operations for each mesh component, which are outlined below. **Each bake operation will have unique render settings.**
       1. Bake Operation 1:
          1. Set the New Texture Output by selecting the below channels:
             1. Diffuse, Roughness, Group Mask, & Metallic.
       2.  We will have Displacement turned off in this bake pass to save on time.

           ![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/26\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/26_Modo.png)
    4. Bake Operation 2:
       1. Set the New Texture Output by selecting the below channels:
          1. Normal, Group Mask
       2.  We **will** have Displacement turned on in this bake pass to capture the surface detail.

           ![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/27\_Modo.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/10/27_Modo.png)
10. Once all texture outputs are set, select Bake Only to begin the bake process for each mesh component.
    1. Depending on the assets UVs there may be bake errors that need to be cleaned up. It is recommended to fix this issues in Photoshop prior to moving onto the next step.

#### **5. GLB Exports – Material Configuration**

If exporting as a .GLB the baked textures from steps 1 – 2 need to be applied to materials before exporting. Below are the texture preparation and material creation steps.

**A) Combine Roughness and Metallic**

Before we create the material, we must first combine our Metallic and Roughness Maps in an image editing software (i.e. Photoshop).

Since these maps have no color information, we can put them into a color channel per the glTF spec:

* Ambient Occlusion – Red
* Roughness – Green
* Metallic – Blue
* Alpha – Alpha

After you have packed the texture, re-import the texture into Modo and duplicate it as many times as you plan to use it.

**B) Add glTF Material**Add a glTF material to the material stack. This can be done by clicking **Add Layer** from the Shader Tree menu.

![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines26.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines26.png)

This can be found by navigating to **Custom Materials** → **glTF Material**

![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines27.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines27.png)

The glTF Material will be added to the Shading Tree above the current selection. Move it above the scene material.

![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines28.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/VNTANAModoExportGuidelines28.png)

**C) Change the Layer Effect**Now we can change our Layer effects to:

* glTF Base Color – Diffuse Color
* glTF Roughness – Roughness
* glTF Metallic – Specular Color/ Metallic
* glTF Normal – Normal

**D) Enable Swizzling**

In our Metallic and Roughness channels enable “Swizzling”. This will ensure a packed texture per the glTF spec is exported.

For the Roughness, enable Swizzling and set the channel to Green:

![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/04\_Section5\_Roughness.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/04_Section5_Roughness.png)

For Metallic, enable Swizzling and set the channel to Blue:

![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/05\_Section5\_Metallic.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/05_Section5_Metallic.png)

#### **6. Export as GLB**

After all, materials have been set up a .GLB can be exported.

Navigate to **File** → **Export As** and select .GLB from the drop-down menu.Select **Save.**

![https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/06\_Section6.png](https://cdn-bdnph.nitrocdn.com/SmMEURXqbaUUIbpyUUZvOaneVGJfPAHQ/assets/images/optimized/rev-c728b38/wp-content/uploads/2022/09/06_Section6.png)
