An extension of the [page:MeshStandardMaterial], providing more advanced physically-based rendering properties:
As a result of these complex shading features, MeshPhysicalMaterial has a higher performance cost, per pixel, than other three.js materials. Most effects are disabled by default, and add cost as they are enabled. For best results, always specify an [page:.envMap environment map] when using this material.
[example:webgl_materials_variations_physical materials / variations / physical]
[example:webgl_materials_physical_clearcoat materials / physical / clearcoat]
[example:webgl_materials_physical_reflectivity materials / physical / reflectivity]
[example:webgl_materials_physical_transmission materials / physical / transmission]
[page:Object parameters] - (optional) an object with one or more properties defining the material's appearance.
Any property of the material (including any property inherited from [page:Material] and [page:MeshStandardMaterial]) can be passed in here.
The exception is the property [page:Hexadecimal color], which can be passed in as a hexadecimal
string and is *0xffffff* (white) by default. [page:Color.set]( color ) is called internally.
See the base [page:Material] and [page:MeshStandardMaterial] classes for common properties.
Represents the intensity of the clear coat layer, from *0.0* to *1.0*. Use clear coat related properties to enable multilayer materials that have a thin translucent layer over the base layer. Default is *0.0*.
The red channel of this texture is multiplied against [page:.clearcoat], for per-pixel control over a coating's intensity. Default is *null*.
Can be used to enable independent normals for the clear coat layer. Default is *null*.
How much [page:.clearcoatNormalMap] affects the clear coat layer, from *(0,0)* to *(1,1)*. Default is *(1,1)*.
Roughness of the clear coat layer, from *0.0* to *1.0*. Default is *0.0*.
The green channel of this texture is multiplied against [page:.clearcoatRoughness], for per-pixel control over a coating's roughness. Default is *null*.
An object of the form:
{
'STANDARD': ''
'PHYSICAL': '',
};
This is used by the [page:WebGLRenderer] for selecting shaders.
Index-of-refraction for non-metallic materials, from *1.0* to *2.333*. Default is *1.5*.
Degree of reflectivity, from *0.0* to *1.0*. Default is *0.5*, which corresponds to an index-of-refraction of 1.5.
This models the reflectivity of non-metallic materials. It has no effect when [page:MeshStandardMaterial.metalness metalness] is *1.0*
The intensity of the sheen layer, from *0.0* to *1.0*. Default is *0.0*.
Roughness of the sheen layer, from *0.0* to *1.0*. Default is *1.0*.
The alpha channel of this texture is multiplied against [page:.sheenRoughness], for per-pixel control over sheen roughness. Default is *null*.
The sheen tint. Default is *0xffffff*, white.
The RGB channels of this texture are multiplied against [page:.sheenColor], for per-pixel control over sheen tint. Default is *null*.
Degree of transmission (or optical transparency), from *0.0* to *1.0*. Default is *0.0*.
Thin, transparent or semitransparent, plastic or glass materials remain largely reflective even if they are fully transmissive.
The transmission property can be used to model these materials.
When transmission is non-zero, [page:Material.opacity opacity] should be set to *1*.
The red channel of this texture is multiplied against [page:.transmission], for per-pixel control over optical transparency. Default is *null*.
See the base [page:Material] and [page:MeshStandardMaterial] classes for common methods.
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]