LightingLight can be...
VRML Lighting Example
#VRML V2.0 utf8
Group {
children [
...
DirectionalLight {
on TRUE
intensity 0.6
ambientIntensity 0.0
color 0.0 1.0 0.0
direction 0.0 0.5 -1.0
},
PointLight {
on TRUE
intensity 0.8
color 0.0 0.0 1.0
location 5.0 5.0 0.0
},
SpotLight {
on TRUE
intensity 0.6
color 1.0 0.0 0.0
location 5.0 -2.0 0.0
direction -1.0 0.0 0.0
cutOffAngle 0.5
}
]
}
|