Maximum number of scene lights packed into the shared lights UBO.
Babylon.js defaults to 4 lights per material; Babylon Lite's cap is scene-wide
because all materials index the same group-0 lights buffer. Raise via
setMaxLights(n) before creating any scene / loading any asset that needs
more lights (e.g. the glTF loader auto-raises this when an asset declares
more KHR_lights_punctual lights than the current cap).
Maximum number of scene lights packed into the shared lights UBO. Babylon.js defaults to 4 lights per material; Babylon Lite's cap is scene-wide because all materials index the same group-0 lights buffer. Raise via
setMaxLights(n)before creating any scene / loading any asset that needs more lights (e.g. the glTF loader auto-raises this when an asset declares more KHR_lights_punctual lights than the current cap).