Use case
- Substance 3D home
- Home
- Getting Started
- Bakers settings
- Common Parameters
- Ambient Occlusion
- Ambient Occlusion from Mesh
- Bent Normals from Mesh
- Color Map from Mesh
- Convert UV to SVG
- Curvature
- Curvature from Mesh
- Curvature from Mesh (deprecated)
- Height Map from Mesh
- Normal Map from Mesh
- Opacity Mask from Mesh
- Position
- Position map from Mesh
- Thickness Map from Mesh
- Transferred Texture from Mesh
- World Space Direction
- World Space Normals
- Guides
- Features
- Common questions
- How to export the baked maps?
- Is dithering applied to baked textures?
- Should I enable "Compute tangent space per fragment"?
- What are Assbin files?
- What is the bit depth of baked textures?
- What is the difference between the OpenGL and DirectX normal format?
- Why are there strange stretches in my textures after baking or exporting?
- Why is Matching by Name not working with Ambient Occlusion/Thickness?
- Why is my mesh fully black after baking?
- Common issues
- Aliasing on UV Seams
- Baker output is fully black or empty
- Baking failed with Color Map from Mesh
- Black shading cross are visible on the mesh surface
- Mesh parts bleed between each other
- Normal map has strange colorful gradients
- Normal texture looks faceted
- Seams are visible after baking a normal texture
- Seam visible on every face
- Texture baked outside of Substance software looks incorrect
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
|
Mesh |
Matching By Name Off |
Matching By Name On |
---|---|---|---|
Normal map baking with mesh bleeding. In this example the helmet on top on the head of the character bleeds onto the character face. By enabling Matching By Name we are able to ignore the helmet and bake the face properly. This result is based on the main Match setting. |
|
|
|
Ignore Backface for floating geometry. In this example the "buttons" at the top of the box are floating geometry, they are not connected to the high poly mesh. Therefore they will cast shadows by default on the box underneath them which will show the geometry border. By enabling Matching By Name for the Ignore Backface setting we are able to bake the ambient occlusion while ignoring the area under the buttons to make it look like one singular box. This result is based on the use of the Ignore Backface setting. |
|
|
|
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:
Suffix Type | Default Value | Usage |
---|---|---|
High Poly | _high | Used to isolate the name of the high poly mesh to match against the low poly one. |
Low Poly | _low | Used to isolate the name of the low poly mesh to match against the high poly one. |
Ignore Backface | _ignorebf | Used to ignore backfaces for bakers using secondary rays, such as the Ambient Occlusion. This suffix should be present on the high poly meshes only, ex: mesh_high_ignorebf |
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):
Low Poly Name | Will Match With High Poly | Will Not Match With High Poly |
---|---|---|
|
|
|
|
|
|
|
|
|
How to setup the bakers
Enabling Matching By Name
Matching By Name can be enabled in the Common Parameters of the Baker settings:
Software |
Setting Configuration |
---|---|
Substance Painter |
|
Substance Designer |
|
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:
File format |
Description |
---|---|
FBX |
No specific parameters to enable/disable, mesh files can be used as-is. |
OBJ |
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:
|