Surface |
Usage Surface <ambient> <diffuse> <specular>
Description This command sets the current surface lighting properties. All components should be specified in the range 0.0 to 1.0. The ambient component specifies how much the world's ambient light source "shines" on polygons. The ambient light source shines equally on all polygons in all directions. The diffuse component specifies how much the world's directional light source "shines" on polygons. It also specifies how much individual light sources placed within the world shine on the polygons. A light source shines more brightly on polygons facing the light source. It does not shine at all on polygons that face away from the light source. Currently Active Worlds does not support specular lighting, so the specular component has no effect. Specular lighting may be supported in a future version of Active Worlds. Arguments <ambient> the ambient lighting value to set <diffuse> the diffuse lighting value to set <specular> the specular lighting value to set See Also |