Now the shader uniform "isValid" is initialized for every light.