Interface MetallicReflectanceOptions
interface MetallicReflectanceOptions {
color?: readonly [number, number, number];
f0Factor?: number;
reflectanceTexture?: Texture2D;
specularWeight?: number;
texture?: Texture2D;
useOnlyMetallicFromTexture?: boolean;
}
color?: readonly [number, number, number];
f0Factor?: number;
reflectanceTexture?: Texture2D;
specularWeight?: number;
texture?: Texture2D;
useOnlyMetallicFromTexture?: boolean;
}
Index
Properties
Optionalcolor
color?: readonly [number, number, number]
Linear-RGB tint for dielectric reflectance (BJS metallicReflectanceColor).
Optionalf0 Factor
f0Factor?: number
Scales dielectric F0 (BJS metallicF0Factor).
Optionalreflectance Texture
RGB tints reflectance only (BJS reflectanceTexture).
Optionalspecular Weight
specularWeight?: number
Grazing specular/F90 weight.
Optionaltexture
RGB tints reflectance, A scales F0 (BJS metallicReflectanceTexture).
Optionaluse Only Metallic From Texture
useOnlyMetallicFromTexture?: boolean
When true + both reflectance textures set, texture only contributes A (F0 scalar).
Options for setPbrMetallicReflectance. Mirrors the dielectric-reflectance fields of
PbrMaterialProps(BJS metallicReflectance* / KHR_materials_specular).