17. Mari 4 - Ingesting Materials
Part of Mari 4 - Fundamentals and Best Practice.
In the Video:
• Exporting materials using the Node Graph
• Importing materials using the Node Graph
• Creating materials with the Material Ingest Tool
Test Your Knowledge
1. | How do you save a material you’ve created? |
In the Node Graph, select a Material node.
Open the Node Properties palette and click the Node tab.
Click the Export As Material button to save the material to disk.
2. | How can you batch import images to use for channels in a material? |
You can use the Material Ingest Tool. Navigate to Tools > Material Ingest Tool.
Exercise
1. | Navigate to Tools > Material Ingest Tool. |
In the Stream Configuration section, define the following options:
2. | Set your Shader Model to Principled BRDF. |
3. | Set Case Sensitive to Yes or No. |
4. | In the Stream Name column, disable the checkbox if you want to skip the creation of any images for that channel. |
Tip: To disable multiple channels at once, Ctrl+click the required rows, then right-click and select Uncheck Selected. Likewise, select Check Selected to enable the channels.
5. | Against each channel, change the Naming Patterns to the naming conventions of your images if they differ from Mari’s predefined ones. |
For example, for Base Color, change the Naming Patterns to "diffuse" if your Base Color channel is called "concrete_diffuse.exr". The same applies to Specular, Roughness, etc.
In the Ingestion Options section, define the following options:
6. | Set Search Root Path to the directory where your images are stored. |
7. | Depending on the naming pattern information of your images, set the Filename Template. |
For example, for "concrete_diffuse.exr" enter %NAME_$STREAM.$EXT
8. | Choose the Ingest Method, whether to export your materials to disk or build them in your project. |
9. | In the Procedural Type field, select which image based procedural node to generate materials with: Tiled or Tri Planar Projection. |
10. | In the Add to Shelf field, select which shelf to add your materials to. |
11. | Click the Create Materials button. |