This parameter controls how many visible lights are allowed.
Default is set to unlimited (-1).
When a limit is set, the Directional lights will always have the highest priority and get added first, then the remaining light types are sorted by distance to the camera.