max_lights
Maxium number of dynamic lights that
can be visible at the same time.
Range:
A6 2 .. 8
A7 2 .. unlimited
Type:
var
Remarks:
- If the level contains blocks, it must be compiled with [Create
Meshes] for using
more than 8 lights.
-
Not more than 8 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 before loading the level.
Example:
max_lights = 20;
See also:
lightrange, sun_light,
light_view,
d3d_lightres
► latest
version online