Substance to Unity: Material Converter Nodes

Creating PBR Materials for Unity

In an earlier post, I wrote about how to pack textures in different channels, and how to set up a PBR material for Unity’s Standard Shader. 

In this post, I would like to share a node setup I made for Substance Designer, to speed up material export to Unity.

When I first bashed together these nodes, I didn’t know much about exposing settings and creating conditions and buttons. I manually connected all the necessary conversion nodes for each project, and by some time, I realized I’m wasting my own production time by repeating things over and over. 

I knew that Substance is capable of creating incredible generators, and other artist tools that save you time so you can focus on the creative process, rather than playing connect-the-dots. 

Custom material converter and template

First, let me introduce the node setup for the Unity Converter node. Currently, it can receive six types of texture maps. 

  •  The base color is merged with the opacity mask, to create Albedo.
  • Normal maps are converted from DirectX to OpenGL format.
  • Roughness is inverted, then merged.
  • Metallic is merged into a combined map.
  • Ambient Occlusion is merged the same way.
  • Height is converted to sRGB format.

After everything is set, the node creates exports that are corresponding to Unity’s shader needs. By plugging your PBR material to this node, I didn’t have to make the conversions manually.

Mesh Materials vs. Terrain Materials

The converter can work in two modes: mesh material mode and terrain material mode. The former is the default usage, this one we know well already. The terrain material mode creates textures suitable for Unity’s built-in terrain shader. This needs two texture maps: Albedo and Normal. Within the alpha channel of the Albedo, the shader looks for a smoothness map. You can toggle between these modes in the node Instance Parameters, under Albedo Merge. In addition, you can choose to use opacity and ambient occlusion, or not with these simple buttons.

Here you can see the basic custom template I made for exporting to Unity. After I have a PBR Material I want to use in Unity, I just drag it into this template, plug, and it’s ready for export. You can view the inputs separately by pressing [1].

Like this article?

Share on facebook
Share on Facebook
Share on twitter
Share on Twitter
Share on linkedin
Share on Linkdin
Share on pinterest
Share on Pinterest
Dotti Hegedüs

Dotti Hegedüs

Dotti is co-founder and 3D Artist in Runemark Studio since 2015. She specializes in environment and props modeling and texturing in various styles.

Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

deadly dungeon traps cover

Deadly Dungeon Traps

Traps are a cool way to give your players a challenge that needs their dexterity or logic or both.
You can really make your game stand out without much effort with this package.

Adventure games like Tomb Raider, RPGs, rouge-like, and soul-like games cry for lethal traps.

View Asset


Collection of a cartoon-style environment and props models with 40+ prefabs. Super lightweight because all prefabs are using material colors only, and the average polycount is way below 1000 vertices.

View Asset

Dark Fantasy Kit

Dark Fantasy Kit is a modular 3D PBR environment package which contains 400+ prefabs to create a residence of a villain or evil mastermind of your RPG game with a First Person, Third Person or a Top-Down view. Works with Unity versions from 5.6 to 2018.

View Asset