Skip to main content

Materials

Wolfram Kernel
Execution environment
Graphics3D`Materials[name_String]

A set of prebuilt materials using MeshPhysicalMaterial and Directive to be used in Graphics3D

Set

"Glass"

Example

Plot3D[Sin[x] Cos[y], {x,-10,10}, {y,-10,10}][[1]];
Graphics3D[{%, Graphics3D`Materials["Glass"], Sphere[{0,0,2}, 4]}, "Renderer"->"PathTracing", ImageSize->600]

"Iridescent"

Example

Plot3D[Sin[x] Cos[y], {x,-10,10}, {y,-10,10}][[1]];
Graphics3D[{%, Graphics3D`Materials["Iridescent"], Sphere[{0,0,2}, 4]}, "Renderer"->"PathTracing", ImageSize->600]