Share
 
 

Create a transparent material with StingrayPBS

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:
    1. Click Open ShaderFX to open the ShaderFX editor, and select the Standard Base node.
    2. 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.
    3. 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.

    4. 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.

    5. Tip: You can also add refraction to a transparent StingrayPBS. See Add refraction to your physically based shader

Was this information helpful?