76

Controlling appearance with materials
Syntax: Material

  • A Material node controls shape material attributes
  • diffuseColor - main shading color
  • emissiveColor - glowing color
  • transparency - opaque or not
  • Shape {
        appearance Appearance {
            material Material {
                diffuseColor  0.8 0.8 0.8
                emissiveColor 0.0 0.0 0.0
                transparency  0.0
            }
        }
        geometry . . .
    }