Added default value for "omni" parameter, and clarified the use of dir-vector.
No edit summary |
(Added default value for "omni" parameter, and clarified the use of dir-vector.) |
||
| Line 12: | Line 12: | ||
* enabled: '''number''' - appears to be 1 for lit and 0 for unlit | * enabled: '''number''' - appears to be 1 for lit and 0 for unlit | ||
* omni: '''number''' - ?? | * omni: '''number''' - ?? (default of 0) | ||
* dirX, dirY, dirZ: '''number'''s - vector from the origin to | * dirX, dirY, dirZ: '''number'''s - vector from the origin to where the light source should face | ||
* ambIntensity: '''number''' - intensity of the ambient component of the light source | * ambIntensity: '''number''' - intensity of the ambient component of the light source | ||
* ambR, ambG, ambB: '''number'''s - color of the ambient component of the light source | * ambR, ambG, ambB: '''number'''s - color of the ambient component of the light source | ||
| Line 23: | Line 23: | ||
:It seems that the direct component only influences the specularity. | :It seems that the direct component only influences the specularity. | ||
:The dir-vector is | :The dir-vector is only used to determine the direction that the light source faces; its distance from the mesh does not affect the light level. | ||