1 |
It is possible to define the appearance of each shape by specifying the atributes of the material. Appearance and Material nodes allows to define this appearance.
-
Material { diffuseColor 0.8 0.8 0.8 # exposedField SFColor emissiveColor 0.0 0.0 0.0 # exposedField SFColor transparency 0.0 # exposedField SFFloat ambientIntensity 0.2 # exposedField SFFloat specularColor 0.0 0.0 0.0 # exposedField SFColor shininess 0.2 # exposedField SFFloat }
|