Maxium number of dynamic lights that
can be visible at the same time.
2 .. 8 A6
2 .. unlimited (default: 100) A7 C
- If the level contains blocks, it must be compiled with [Create
Meshes] for using
more than 8 lights.
Not more than 8 dynamic lights can influence a single model, block, or terrain
chunk. The light influence ranges can be adjusted through d3d_lightres.
- This variable must be set in the first frame before loading the level.
All dynamic lights are clipped against the light_view frustum. If the active view is different to the predefined camera view, the light_view pointer must be set to the active view, or to NULL when there are several active views and the lights must not be clipped.
max_lights = 20;