Implemented lighting with shadows.