Version:

Finding the Material Parameter Name

Finding the Material Parameter Name

You can specify material parameter names for some Script Canvas editor nodes. In the Material Editor, you can find the material parameter names in the following sections:

  • Opacity Settings
  • Lighting Settings
  • Shader Params

You can find common parameters in the Opacity Settings and Lighting Settings sections. You can find parameters that are specific to the selected shader in the Shader Params section.

[Find material parameter names in the Material Editor in Lumberyard Editor.]

To find the material parameter name

  1. In Lumberyard Editor, choose Tools, Material Editor.

  2. In the Material Editor, navigate to the material file.

  3. In the Opacity Settings, Lighting Settings, and Shader Params sections, pause on a parameter to find the script parameter name.
    Example

    For Diffuse Color (Tint), the script parameter name is diffuse.
    [Find script parameter names in the Material Editor in Lumberyard Editor.]
    Example

    For Emittance Map Gamma, the script parameter name is EmmitanceMapGamma.
    [Find shader-specific script parameter names in the Material Editor.]

The following parameter names are commonly available and built in all materials.

Material Param Names

ParamTypeDisplay NameDescription
opacityFloatOpacitySets the transparency amount. Uses 0 to 99 to set Alpha Blend and 100 for Opaque and Alpha Test.
alphaFloatAlphaTestUses the alpha mask and refines the transparent edge. Uses 0 to 50 to bias toward white or 50 to 100 to bias toward black.
diffuseColorDiffuse Color (Tint)Tints the material diffuse color. Physically based materials should be left at white.
specularColorSpecular ColorShininess and color of reflective highlights.
shininessFloatSmoothnessSmoothness or glossiness simulating how light bounces off the surface.
emissive_intensityFloatEmissive Intensity (kcd/m2)Brightness simulating light emitting from the surface, making an object glow.
emissive_colorColorEmissive ColorTints the emissive color.