public void setSinglePassLightBatchSize(int singlePassLightBatchSize) {
        // Ensure the batch size is no less than 1
        this.singlePassLightBatchSize = singlePassLightBatchSize < 1 ? 1 : singlePassLightBatchSize;
    }
Sets the number of lights to use for each pass when the light mode is single pass.

@param singlePassLightBatchSize the number of lights.
jme3-core/src/main/java/com/jme3/renderer/RenderManager.java