PBRMaterial lets you change some material properties that have an effect on the visualization.

Since

2021.1

Hierarchy

  • PBRMaterial

Properties

metallicFactor?: number

The metalness of a material is a value that ranges from 0, meaning the material is a dielectric, to 1, meaning the material is a metal. A dielectric is a type of electrical insulator. Some examples include porcelain, glass, and most plastics. Usually, a material is either metallic or dielectric. Values in between are for blending between metals and dielectrics such as dirty metallic surfaces.

With this metallicFactor you can scale the metalness values in the data to your liking. If there are no such values in the data, it scales the default metalness value which is 1.

Default

<code>1</code>
roughnessFactor?: number

The roughness of a material is a value that ranges from 0, meaning completely smooth, to 1, meaning completely rough.

With this roughnessFactor you can scale the roughness values in the data to your liking. If there are no such values in the data, it scales the default roughness value which is 1.

Default

<code>1</code>