This node defines a directional light source that illuminates along rays parallel to a given 3-dimensional vector.
|
A light node defines an illumination source that may affect subsequent shapes in the scene graph, depending on the current lighting style.
|
Light sources are affected by the current transformation.
|
A light node under a separator does not affect any objects outside that separator.
|
FILE FORMAT/DEFAULTS
|
DirectionalLight {
-
on TRUE # SFBool
-
intensity 1 # SFFloat
-
color 1 1 1 # SFColor
-
direction 0 0 -1 # SFVec3f
|
}
|
VRML2.0 adds ambientintensity field
|