Viz Artist

Version 3.10 | Published May 03, 2018 ©

Substance Editor

images/download/attachments/33960836/SubstanceExample.jpg

Working with Substances

This section details how to work with Substances.

The import and use of Substances in Viz requires a separate license. You obtain this license, as well as a license for the Allegorithmic Substance Designer and the Substance PBR database, from your local Vizrt representative.

Substances use two different file extensions, .sbs and .sbsar:

  • .sbs files are editable substance source files. Use Substance Designer with these files.

  • .sbsar files are performance optimized, published substances.

You can import .sbsar files into Viz Artist. They must be Physically Based Rendering (PBR) materials to work correctly in Viz. Make sure you create the correct material type when creating Substance shaders in Substance Designer.

To create a .sbsar file, first create a Shader with Substance Designer, and then publish this shader for import to Viz Artist. To view and adjust the parameters of a shader, switch to the Substance Settings panel. The parameters in the settings panel are different for each loaded substance, depending on the type of shader. The only supported type of shader in Viz Artist is PBR Metallic/Roughness.

Tip: If you get the error message "This is not a valid Substance" when you apply the shader in Viz Artist, you need to make sure you have a PBR Metallic/Roughness material created in Substance Designer.

Substance Basic

Here you can adjust the basic settings of your Substance shader.

images/download/attachments/33960836/SubstanceEditor.jpg

Substance: Drag the desired Substance shader from the Viz database section to this drop-field.

Environment Map: Drag any RGB or HDR environment map that should be reflected on the surface to this drop-field. The strength is controlled by the Ambient Intensity and by the metallic setting exposed individually in a Substance shader.

Anisotropic Filtering: Higher settings increase the load on the GPU during shader calculation. This is usually set between 0-4.

Relief Amount: You only need to adjust this setting for relief shaders.

Tiling: Lets you specify the number of tiles.

Emissive Intensity: Change this setting for a higher emission rate of your shader.

Ambient Intensity: Use this option to control the blending when you have an Environment texture applied to your Substance shader.

sRGB Base Color: Enable to use the sRGB color space model.

Texture Rotation: Use this setting to rotate the texture applied to your geometry. This rotation has a limitation in the rotation degree of freedom, If the limit is reached, you need to change the rotation in your Substance shader.

Texture Scaling X: Use this setting to scale the applied texture/shader on the X axis.

Texture Scaling Y: Use this setting to scale the applied texture/shader on the Y axis.

Texture Position X: Use this setting to change the X position of the applied texture/shader on the x axis.

Texture Position Y: Use this setting to change the Y position of the applied texture/shader on the y axis.

Substance Settings

The settings of each Substance shader are different, depending on the material itself. All Substance shaders have in common that they need to generate a texture from the procedural shader description created in Substance Designer. If you are creating texture based shaders, you need to make sure that your base texture has enough resolution. All other settings and sliders in the Substance shaders vary with each different shader, depending on which features are exposed in each individual shader. Some settings are exposed for almost any existing shader from the Substance PBR library. These include Hue Shift, Saturation, Luminosity, Contrast, Normal Format, Output Size and $randomseed. If you create your own shaders in Substance Designer, you must expose the modifiers manually from Substance Designer if they are to be editable in Viz Artist.

images/download/attachments/33960836/SubstanceEditorSettings.jpg

Tip: Check the Nvidia GPU meter to see performance used by the shaders.

How to create Substance shaders with Substance Designer

This section gives you a brief introduction on how to create a PBR Metallic/Roughness material in Substance Designer. Substance Designer allows you to create procedural materials as well as texture/scan based materials. Please see the Allegorithmic website and their Youtube channel for more detailed information on how to work with Substance Designer: https://www.allegorithmic.com/.

When you create a new Substance in Substance Designer, you need to select the Physically Based (Metallic/Roughness) Graph Template. Otherwise, this shader will not work properly in Viz Artist, causing the error message "This is not a valid Substance". When saving a Substance shader/material, it will be saved as an .sbs file. These files cannot be imported into Viz Artist. To import Substance shaders in Viz, you need to publish the material to an .sbsar file.

images/download/attachments/33960836/Substance_Designer.jpg

The shader graph of each material looks different. Here are a few examples for different shader graphs with PBR Metallic/Roughness materials, reaching from simple texture shader graphs to complex procedural shader graphs.

Simple texture shader

images/download/attachments/33960836/SubstanceGraph_simple.jpg
In the shader graph, you see the 5 Output channels for the PBR material: Base color, Normal, Roughness, Metallic, and Height. All outputs are generated automatically from a simple input texture.

Basic procedural shader

images/download/attachments/33960836/SubstanceGraph_medium.jpg

In the shader graph, you see the 4 Output channels for the PBR material: Base color, Normal, Roughness, and Metallic. All outputs are generated and mapped manually.

Complex procedural shader

images/download/attachments/33960836/SubstanceGraph_complex.jpg

Here you see a very complex procedural shader graph, constructed with different modifiers and functions, generating the necessary output for Base Color, Normal, Roughness, Metallic and Height.

Tip: Only PBR Metallic/Roughness materials from Substance Designer are supported in Viz.

Publishing shaders

When you want to import the Substance shaders in Viz Artist, you need to publish them from Substance Designer instead of saving them. The diffference between publishing and saving is that the shader is performance optimized when published. Published shaders cannot be opened by Substance Designer, so it is important to keep your .sbs files and .sbsar files together, in case you need to make changes to your shader later on.

To publish the shader, right click the shader/package and select Publish .sbsar file.

images/download/attachments/33960836/Publish.jpg

Tip: You can find documentation and training with Substance Designer on https://www.allegorithmic.com/ as well as on the Allegorithmic Youtube channel.

Substances Performance

Substance shaders are computed on your GPU. Vizrt recommends an Nvidia M-series graphics card or higher to work efficiently with Substances. Since Substances run exclusively on the GPU, you should check the Nvidia GPU meter when working with Substances inside Viz to have full overview of the rendering performance. There should be a section called Manage GPU Utilization in your Nvidia Control Panel. Check the performance of the Substance shaders here.

images/download/attachments/33960836/GPU_meter.jpg