To avoid repeatedly creating identical shader graphs and slowing down your game, you can create and save a preset shader graph, then re-use this preset next time you create a new StingrayPBS.
The Parent Material field is now empty.
See also Build a Stingray Physically Based Shader using the ShaderFX editor.
(Optional) Rename your shader node for easy identification when you import your .fbx file into a game engine.
Now when you restart Maya and create a new Stingray PBS node, you can find your preset in the Preset Material drop-down list.
Select your preset to reuse the same shader graph. You can continue to use the preset as long as you only change the attributes (those visible in the Stingray PBS Attribute Editor) and not the shader graph.
From the Preset Material drop-down list, select the preset with the shader graph that you want to start building from.
Click Make Unique in the Stingray PBS Attribute Editor. The Stingray PBS node no longer points to the previously selected preset; however, the shader graph of that preset is maintained when you click Open ShaderFX.
A material that contains a shader graph is called a parent material.
You can create child materials based on a parent material. A child material inherits the shader graph, and thus the material attributes, from the parent material.
Child materials can modify the attributes of the parent material; for example, its color values and texture maps. Generally speaking, these are attributes that are visible in the Stingray PBS Attribute Editor. However, a child material cannot change the parent material's shader graph.
If you have a team of soccer players in your scene, you can create one shader graph to shade all of their t-shirts.
Create one parent material with a preset shader graph, then create 10 child materials based on the parent. Each child material Attribute Editor can connect to a different texture that represents the player name and number. Because the 10 child materials do not have a shader graph connected, they are much faster to calculate, reducing the performance hit.
Click Open ShaderFX to open the ShaderFX editor window.
A message in the ShaderFX editor informs you that this graph is inherited from the preset graph; in this case, your custom preset.