Matching by Name
Matching By Name is the name of a filtering method that can be used in Substance Bakers to isolate low poly and high poly meshes based on their name.
This functionality is very useful to avoid geometry bleeding over each other during the baking process to achieve clean textures. It avoid having to move away meshes (often referred as “exploding”) to achieve the same result.
When to Use Matching By Name
Examples
How Matching By Name Works
The Matching By Name system works by reading the geometry name in both the low and high poly meshes and using a keyword (the suffix) to identify/match the names. By default the bakers use the specific suffix but they can changed (see below).
The current suffixes supported are:
Some rules to take into account to make this feature work properly:
- Matching By Name has to be enabled in Common Parameters as it is off by default.
- A secondary Matching By Name setting might be enabled in some bakers (such as Ambient Occlusion) because they produce secondary rays.
- Matching is case sensitive, this means a mesh named “Vela” won’t match with another one named “vela”.
- Multiple meshes can be matched together based on where the suffix is present in the geometry name.
Below are examples of how the matching may work (using the default suffix):
- body_low
- body_high
- body_high_top
- body_high_1
- body_high_2
- body-high
- body_top_high
- Head_low
- Head_high
- head_high
- Leg_low_top
- Leg_high
- Leg_high_top
- Leg_high_high_top
- Leg_top_high
How to setup the bakers
Enabling Matching By Name
Matching By Name can be enabled in the Common Parameters of the Baker settings:
- Open the Baking Window (via the Texture Set Settings).
- Display the Common Parameters.
- Change the setting Match from “Always” to “By Mesh Name”.
- Open the Baking Window (by right-clicking on a linked mesh in the Explorer Window).
- Change the setting Match from “Always” to “By Mesh Name”.
Changing the Suffix Names
The default suffixes are _low and _high and can be changed the following way:
- Substance Painter: In the Baking window, within the common parameters.
- Substance Designer: In the Project settings, under the Bake settings.
High-poly meshes from zBrush
High-poly meshes exported from zBrush can be used for baking with the Matching By Name feature, however some settings might be followed:
OBJ files exported by zBrush won’t work with Matching By Name by default. Instead, it is possible to tell Substance Painter to use the mesh filename instead to match meshes by name.To do so, make sure to:
- Disable the group (Grp) parameter for each subtool.
- Name the OBJ file appropriately (ex: body_high.obj).
<img class=“” data-preserve-html=“true” id=“root_content_flex_items_position_position-par_dx_table2_row-r2-column-c1_dynamic_grid_items_grid-cell_position-par_image” src="https://helpx-prod.scene7.com/is/image/HelpxProd/zbrush-setting?$pnghttps://helpx-prod.scene7.com/is/image/HelpxProd/zbrush-setting?$png=“https://helpx-prod.scene7.com/is/image/HelpxProd/zbrush-setting?$png$&jpegSize=100&wid=221"amp;jpegSize=100&wid=221amp;jpegSize=100&wid=221”/>