gpu-curtains
    Preparing search index...

    Interface GLTFMaterialsSpecularExtension

    Define the KHR_materials_specular extension materials options.

    interface GLTFMaterialsSpecularExtension {
        specularFactor?: number;
        specularTexture?: ITextureInfo;
        specularColorFactor?: [number, number, number];
        specularColorTexture?: ITextureInfo;
    }
    Index

    Properties

    specularFactor?: number

    The strength of the specular reflection. Default to 1.

    specularTexture?: ITextureInfo

    A texture that defines the strength of the specular reflection, stored in the alpha (A) channel. This will be multiplied by specularFactor.

    specularColorFactor?: [number, number, number]

    The F0 color of the specular reflection (linear RGB). Default to [1, 1, 1].

    specularColorTexture?: ITextureInfo

    A texture that defines the F0 color of the specular reflection, stored in the RGB channels and encoded in sRGB. This texture will be multiplied by specularColorFactor.