API

Interface SheenProps

Sheen layer properties. Maps to BJS PBRMaterial.sheen sub-object.

interface SheenProps {
    albedoScaling?: boolean;
    color?: readonly [number, number, number];
    intensity?: number;
    isEnabled: boolean;
    roughness?: number;
    roughnessTexture?: Texture2D;
    texture?: Texture2D;
}
Index
albedoScaling?: boolean

When true (recommended for glTF), applies proper sheen albedo scaling on the base layer and treats the sheen texture as already-linear (no pow). When false (default, legacy), applies pow(rgb, 2.2) to the sheen texture and uses a (1-F0) attenuation on the sheen lobe without base-layer scaling.

color?: readonly [number, number, number]

Sheen color (linear RGB). Default [1, 1, 1].

intensity?: number

Sheen intensity (0=off, 1=full). Default 1.0.

isEnabled: boolean

Whether sheen is active. Default false.

roughness?: number

Sheen roughness. Default 0.0.

roughnessTexture?: Texture2D

Optional separate sheen roughness texture (KHR_materials_sheen sheenRoughnessTexture). When present, sheen roughness is read from this texture's A channel at its own UV (with its own KHR_texture_transform, animatable) instead of the color texture's A.

texture?: Texture2D

Optional sheen tint texture (modulates sheen color). Loaded via loadTexture2D().