logical, if TRUE light is a viewpoint light that is positioned relative to the current viewpoint
ambient, diffuse, specular
...
generic arguments passed through to RGL-specific (or other) functions
Value
This function is called for the side effect of adding a light. A light ID is
returned to allow rgl.pop to remove it.
Details
Up to 8 light sources are supported. They are positioned either in world space
or relative to the camera using polar coordinates. Light sources are directional.