This node defines the current surface material properties for all subsequent shapes.
|
Material sets several components of the current material during traversal.
|
Different shapes interpret materials with multiple values differently.
|
To bind materials to shapes, use a MaterialBinding node .
|
FILE FORMAT/DEFAULTS
-
Material {
-
ambientColor 0.2 0.2 0.2 # MFColor
-
diffuseColor 0.8 0.8 0.8 # MFColor
-
specularColor 0 0 0 # MFColor
-
emissiveColor 0 0 0 # MFColor
-
shininess 0.2 # MFFloat
-
transparency 0 # MFFloat
-
}
|