3.8.7 Lights

Specify light sources for the scene or for specific objects
LIGHT:
LIGHT_SOURCE | LIGHT_GROUP
Describe the position, type and properties of a light source for the scene:
LIGHT_SOURCE:
Jump to SDL
light_source { V_LOCATION, COLOR [LIGHT_SOURCE_ITEMS] }
LIGHT_SOURCE_ITEMS:
[LIGHT_TYPE] & [AREA_LIGHT_ITEMS] & [LIGHT_MODIFIERS]
LIGHT_TYPE:
spotlight [SPOTLIGHT_ITEMS] | cylinder [SPOTLIGHT_ITEMS]
SPOTLIGHT_ITEMS:
[radius FLOAT] & [falloff FLOAT] & [tightness FLOAT] & [point_at VECTOR]
AREA_LIGHT_ITEMS:
area_light V_AXIS1, V_AXIS2, I_SIZE1, I_SIZE2 [AREA_LIGHT_MODIFIERS]
AREA_LIGHT_MODIFIERS:
[adaptive INT] & [jitter] & [circular] & [orient]
LIGHT_MODIFIERS:
[LIGHT_PHOTONS] & [looks_like { OBJECT }] & [TRANSFORMATION...] & [fade_distance FLOAT] & [fade_power FLOAT] & [media_attenuation [BOOL]] & [media_interaction [BOOL]] & [shadowless] & [projected_through { OBJECT_IDENTIFIER }] & [parallel [point_at VECTOR]]
Specify how a light source should interact with photons:
LIGHT_PHOTONS:
photons { LIGHT_PHOTON_ITEMS }
LIGHT_PHOTON_ITEMS:
[refraction BOOL] & [reflection BOOL] & [area_light]

Quick Reference Contents

3.8.7.1 Lightgroup

Assign objects to specific light sources:
LIGHT_GROUP:
Jump to SDL
light_group { LIGHT_GROUP_ITEM... [LIGHT_GROUP_MODIFIERS] }
LIGHT_GROUP_ITEM:
LIGHT_SOURCE | OBJECT | LIGHT_GROUP
LIGHT_GROUP_MODIFIERS:
[global_lights BOOL] & [TRANSFORMATION...]

Quick Reference Contents