material
Set surface material reflectance properties.
Syntax
Section titled “Syntax”material shinymaterial dullmaterial metalmaterial([ka kd ks])Description
Section titled “Description”Sets the ambient / diffuse / specular reflectance ratios for surfaces. Preset strings: 'shiny', 'dull', 'metal'. Or pass a 3-element vector to set the [ambient, diffuse, specular] coefficients explicitly.
Example
Section titled “Example”material shiny