Skip to main content

Metalness

WLJS
Execution environment
JerryI`Notebook`Graphics3DUtils`
Context
warning

It is considered to be removed. Please use Directive instead

specifies metallic property of a graphics primitive (see MeshPhysicalMaterial)

Metalness[i_Real]

where i can be between 0 and 1. In real world it either 1 or 0.

An effect is more visible, when there is an HDR map is used

non-metallic

Graphics3D[{Metalness[0], Sphere[]}, "Lighting"->None, "Lightmap"->"https://raw.githubusercontent.com/JerryI/Mathematica-ThreeJS-graphics-engine/master/assets/PureSky.hdr"]

metallic

Graphics3D[{Metalness[1], Sphere[]}, "Lighting"->None, "Lightmap"->"https://raw.githubusercontent.com/JerryI/Mathematica-ThreeJS-graphics-engine/master/assets/PureSky.hdr"]

metallic and polished

Graphics3D[{Metalness[1], Roughness[0], Sphere[]}, "Lighting"->None, "Lightmap"->"https://raw.githubusercontent.com/JerryI/Mathematica-ThreeJS-graphics-engine/master/assets/PureSky.hdr"]