See also this thread for the maximum value you can put in maxSimultaneousLights :
maxSimultaneousLights