X3D Material
Tag Name
Material • Example
Tag Description
Specifies the material properties for each individual shape. If a Material node is not specified, geometry is considered unlit and colored white.
Component
Shape
Tag Attributes
AmbientIntensity
Field Type: SFFloat
Access Type: inputOutput
Default Value: 0.2
Value Range: 0, 1
Description: Sets how much ambient light the surface should reflect.
diffuseColor
Field Type: SFColor
Access Type: inputOutput
Default Value: 0.8, 0.8, 0.8
Value Range: 0, 1
Description: Reflects all X3D light sources depending on the angle of the light to the surface.
emissiveColor
Field Type: SFColor
Access Type: inputOutput
Default Value: 0, 0, 0
Value Range: 0, 1
Description: Sets how much glowing light the shape will emit.
shininess
Field Type: SFFloat
Access Type: inputOutput
Default Value: 0.2
Value Range: 0, 1
Description: Combines with specularColor to produce specular hightlights.
specularColor
Field Type: SFColor
Access Type: inputOutput
Default Value: 0, 0, 0
Value Range: 0, 1
Description: Combines with shininess to produce specular highlights.
transparency
Field Type: SFFloat
Access Type: inputOutput
Default Value: 0
Value Range: 0, 1
Description: Sets the transparency of the shape.
metadata
Field Type: SFNode
Access Type: inputOutput
Default Value: NULL
Value Range: X3DMetadataObject
Description: Information about this node.