<<VRML 2.0 - An Introductory view by examples

PointLight

[example]                                             [run]

it defines a light node that illuminates along rays in all directions.

{
exposedField SFFloat ambientIntensity 0
exposedField SFVec3f attenuation 1 0 0
exposedField SFColor color 1 1 1
exposedField SFFloat intensity 1
exposedField SFVec3f location 0 0 0
exposedField SFBool on TRUE
exposedField SFFloat radius 100
}