Disables or enables a light source.
This function is used before creating a lightmap (STATE_polygon_create_lightmap() )
A light source that is disabled wont be included in the process of generating a lightmap
See also STATE_light_is_disabled()
Example:
STATE_light_disable(my_light, YES);
|