Efficient Light-Transport Simulation Using Machine Learning