A set of parameter values that are used to define the metallic-roughness material model from Physically-Based Rendering (PBR) methodology

interface IMaterialPbrMetallicRoughness {
    baseColorFactor?: number[];
    baseColorTexture?: ITextureInfo;
    metallicFactor?: number;
    roughnessFactor?: number;
    metallicRoughnessTexture?: ITextureInfo;
}

Properties

baseColorFactor?: number[]

The material's base color factor

baseColorTexture?: ITextureInfo

The base color texture

metallicFactor?: number

The metalness of the material

roughnessFactor?: number

The roughness of the material

metallicRoughnessTexture?: ITextureInfo

The metallic-roughness texture