direct illumination for multiple lights worked, debugging a bug that causes the program to crash randomly