@pixi/3d
    Preparing search index...

    Interface SheenOptions

    Options for a Material3D's sheen group (KHR_materials_sheen): the soft glow at grazing angles on velvet, satin and other cloth

    const velvet = new Material3D({ baseColor: 0x3b0a45, roughness: 0.9, sheen: { color: 0xd8a0ff } });
    
    interface SheenOptions {
        color?: ColorSource;
        roughness?: number;
        roughnessTexture?: Texture<TextureSource<any>>;
        texture?: Texture<TextureSource<any>>;
    }
    Index
    color?: ColorSource

    Colour of the sheen; black turns it off

    0xffffff
    
    const silk = new Material3D({ sheen: { color: 0xfff0e0 } });
    
    roughness?: number

    Roughness of the sheen, from 0 to 1

    0
    
    const felt = new Material3D({ sheen: { roughness: 0.8 } });
    
    roughnessTexture?: Texture<TextureSource<any>>

    Roughness map, read from alpha; used only when there is no texture

    The two share a slot, so its colour channels tint the sheen too: keep them white.

    const worn = new Material3D({ sheen: { roughnessTexture: wearMap } });
    
    texture?: Texture<TextureSource<any>>

    Colour in RGB and roughness in alpha, the packed image; used over roughnessTexture when both are given

    const fabric = new Material3D({ sheen: { texture: sheenMap } });