Brlcad/How to mged/command/mater
The mater command is used to set the material properties for a previously defined region. This includes parameters, such as the material shader, the shader properties, the rgb colour values and any inheritance properties of the materials.
# Set the material properties for region1.r to plastic mater region1.r plastic
Setting the material shader properties
The shader properties that can be configured depends on the type of material shader being utilized. The following example shows how to set the transparency, reflectiveness, and shininess properties for a plastic material.
mater region1.r plastic "plastic tr=0.3 di=1.0 re=0.2" 255 0 0 0