Metallic
Metallic controls the transition between a dielectric surface, such as plastic, and a conductor, such as bare metal.
Configuration​
The following fields update an existing PBR material; see Materials guide.
material.setProps({
pbrMaterial: {
metallicRoughnessValues: [1, 0.3]
}
});
Parameters​
| Parameter | Default | Description |
|---|---|---|
metallicRoughnessValues | [1, 1] | First component sets metallic from 0 to 1. |
pbr_metallicRoughnessSampler | Unbound | Optional linear texture. Its blue channel multiplies the factor. |
Remarks​
- Core glTF supplies
metallicFactorand the optionalmetallicRoughnessTexturethroughpbrMetallicRoughness.