fix light uniform array errors, and using shader without light by default fix #8612
Merge pull request #8660 from super626/fixlight2

fix light uniform array errors, and using shader without light by defaul...