Define the KHR_materials_iridescence extension materials options.

interface GLTFMaterialsIridescenceExtension {
    iridescenceFactor?: number;
    iridescenceTexture?: ITextureInfo;
    iridescenceIor?: number;
    iridescenceThicknessMinimum?: number;
    iridescenceThicknessMaximum?: number;
    iridescenceThicknessTexture?: ITextureInfo;
}

Properties

iridescenceFactor?: number

The iridescence intensity factor. Default to 0.

iridescenceTexture?: ITextureInfo

The iridescence intensity texture, stored in the R channel.

iridescenceIor?: number

The index of refraction of the dielectric thin-film layer. Default to 1.3.

iridescenceThicknessMinimum?: number

The minimum thickness of the thin-film layer given in nanometers. Default to 100.

iridescenceThicknessMaximum?: number

The maximum thickness of the thin-film layer given in nanometers. Default to 400.

iridescenceThicknessTexture?: ITextureInfo

The thickness texture of the thin-film layer, stored in the G channel.