added lights and shadow rays.