Interface ClearCoatProps
bumpTexture?: Texture2D;
bumpTextureScale?: number;
indexOfRefraction?: number;
intensity?: number;
isEnabled?: boolean;
roughness?: number;
roughnessTexture?: Texture2D;
texture?: Texture2D;
useF0Remap?: boolean;
}
Properties
Optionalbump Texture
Optional clearcoat normal map (tangent-space). Used to perturb the coat layer normal independently of the base layer.
Optionalbump Texture Scale
Clearcoat normal texture scale (glTF normalTexture.scale). Default 1.0.
Optionalindex Of Refraction
Index of refraction of the clearcoat layer. Default 1.5.
Optionalintensity
Clearcoat layer intensity (0=off, 1=full). Default 1.0.
Optionalis Enabled
Whether clearcoat is active. Default false.
Optionalroughness
Clearcoat layer roughness. Default 0.0 (perfectly smooth).
Optionalroughness Texture
Optional clearcoat roughness texture (G channel). Multiplies roughness.
Optionaltexture
Optional clearcoat intensity texture (R channel). Multiplies intensity.
Optionaluse F0 Remap
Whether to remap base F0 across the clearcoat interface (CLEARCOAT_REMAP_F0). Matches BJS PBRClearCoatConfiguration.remapF0OnInterfaceChange. Default true. glTF loader sets this to false per KHR_materials_clearcoat.
Clearcoat layer properties. Maps to BJS PBRMaterial.clearCoat sub-object.