gpu-curtains
    Preparing search index...

    Interface GLTFMaterialsDiffuseTransmissionExtension

    Define the KHR_materials_diffuse_transmission extension materials options.

    interface GLTFMaterialsDiffuseTransmissionExtension {
        diffuseTransmissionFactor?: number;
        diffuseTransmissionTexture?: ITextureInfo;
        diffuseTransmissionColorFactor?: [number, number, number];
        diffuseTransmissionColorTexture?: ITextureInfo;
    }
    Index

    Properties

    diffuseTransmissionFactor?: number

    The percentage of non-specularly reflected light that is diffusely transmitted through the surface. Default to 0.

    diffuseTransmissionTexture?: ITextureInfo

    A texture that defines the percentage of non-specularly reflected light that is diffusely transmitted through the surface. Stored in the alpha A channel.

    diffuseTransmissionColorFactor?: [number, number, number]

    The color that modulates the transmitted light. Default to [1, 1, 1].

    diffuseTransmissionColorTexture?: ITextureInfo

    A texture that defines the color that modulates the diffusely transmitted light, stored in the RGB channels.