Master thesis: Physically-based Rendering in Real-time