After you apply your StingrayPBS material to your object, you can set it as transparent in one of two ways:
- Select the presets/Standard_Transparent preset from the Preset Material drop-down list in the StingrayPBS Attribute Editor. Adjust the Opacity slider to adjust the amount of transparency of your object.
- Select
Custom from the
Preset Material drop-down list in the StingrayPBS
Attribute Editor to create your own custom graph, then do as follows:
- Click Open ShaderFX to open the ShaderFX editor, and select the Standard Base node.
- Select
Transparent from the
Blend Mode drop-down list.
Note: The Transparent Fade option is similar to the Transparent option, except that the specular highlights also fade as transparency increases.
- Create a
Material Variable node in the ShaderFX editor.
Select the Material Variable node, and in its Attribute Editor, set Type to Scalar. You may also want to rename the node to Transparency for more clarity.
- Connect the
Result output of the Transparency node to the
Opacity input of the
Standard Base node.
Adjust the Transparency value in the StingrayPBS Attribute Editor.
Tip: You can also add refraction to a transparent StingrayPBS. See Add refraction to your physically based shader