Interface ThicknessProps
interface ThicknessProps {
max?: number;
min?: number;
texture?: Texture2D;
useGlTFChannel?: boolean;
}
max?: number;
min?: number;
texture?: Texture2D;
useGlTFChannel?: boolean;
}
Properties
Optionalmax
max?: number
Maximum thickness. Default 1.0.
Optionalmin
min?: number
Minimum thickness. Default 0.
Optionaltexture
Thickness map texture. R channel is sampled by default (matches
existing BJS non-glTF path). Set useGlTFChannel=true for G-channel
sampling as specified by KHR_materials_volume.
Optionaluse Gl TF Channel
useGlTFChannel?: boolean
When true, sample the thickness texture's G channel (KHR_materials_volume). Default false — samples R channel (BJS default). Set by the glTF loader.
Thickness sub-feature. Controls how thick the material is at each point.