Hello,
I found an issue when changing the value of maxSimultaneousLights of a material : the lights do not stop shining !
Take a look at this playground :
Note that the material’s maxSimultaneousLights value goes down back to 1 in the console, but it doesn’t show in the render.
Thanks for looking at it !