Material

Sets the material properties of primitives.


Inputs

  • geometry

    • Accepts a single geometry connection (unless the SHIFT key is held).
  • primitive mask

    • The list of boolean values that defines which input primitives to set the material properties to. If empty, all input primitives will be set to the defined material properties.
  • set base color

    • Sets whether to set a base color material property to the input primitives or not.
  • base color

    • The color value (vector) that defines the base color to set the input primitives when the set base color input is set to true.
  • set base texture

    • Sets whether to set a base texture material property to the input primitives or not.
  • base texture

    • The string value (image asset URI) that defines the base texture to set to the input primitives when the set base texture input is set to true.
  • set opacity

    • Sets whether to set an opacity material property to the input primitives or not.
  • opacity

    • The value that defines the opacity to set to the input primitives (between a range of 0 and 1) when the set opacity input is set to true.
  • set roughness

    • Sets whether to set a roughness material property to the input primitives or not.
  • specular roughness

    • The value that defines the specular roughness to set to the input primitives (between a range of 0 and 1) when the set roughness input is set to true.
  • roughness texture

    • The string value (image asset URI) that defines the roughness texture to set to the input primitives when the set roughness input is set to true.
  • set metallic

    • Sets whether to set a metallic material property to the input primitives or not.
  • metallic

    • The value that defines the metalness to set to the input primitives (between a range of 0 and 1) when the set metallic input is set to true.
  • metallic texture

    • The string value (image asset URI) that defines the metallic texture to set to the input primitives when the set metallic input is set to true.
  • set reflectance

    • Sets whether to set a reflectance material property to the input primitives or not.
  • reflectance

    • The value that defines the reflectance to set to the input primitives (between a range of 0 and 1) when the set reflectance input is set to true.
  • reflectance texture

    • The string value (image asset URI) that defines the reflectance texture to set to the input primitives when the set reflectance input is set to true.
  • set bump

    • Sets whether to set a bump material property to the input primitives or not.
  • bump

    • The value that defines the bump to set to the input primitives (between a range of 0 and 1) when the set bump input is set to true.
  • bump texture

    • The string value (image asset URI) that defines the bump texture to set to the input primitives when the set bump input is set to true.
  • set incandescence

    • Sets whether to set an incandescent material property to the input primitives or not.
  • incandescence

    • The color value (vector) that defines the incandescence to set to the input primitives (between a range of 0 and 1) when the set incandescence input is set to true.
  • incandescence texture

    • The string value (image asset URI) that defines the incandescence texture to set to the input primitives when the set incandescence input is set to true.
  • set double-sided

    • Sets whether to set the material properties on the input primitives to be double-sided or not.
  • double-sided

    • Sets whether to make the material properties double-sided or not.
  • set texture size

    • Sets whether to set the size of the texture inputs to set to the input primitives or not.
  • texture size

    • The value that defines the size of the textures used in the material properties (also known as the UV scale of the textures).

Outputs

  • geometry

    • Output primitives.
  • points

    • The list of points of the output primitives.
  • points.x

    • The list of x values of the points of the output primitives.
  • points.y

    • The list of y values of the points of the output primitives.
  • points.z

    • The list of z values of the points of the output primitives.

Notes

  • See Material for more information.

  • Other names for this node include: SetMaterial, Set Material, and Shader.

Examples