Pedagogical GPU pathtracer showing the transition from mirror to diffuse via surface roughness
A pedagogical pathtracer that varies surface roughness across a scene. Smooth surfaces produce sharp reflections while rough surfaces scatter light diffusely, with a continuous transition between the two extremes controlled by a roughness parameter on each material.
Controls: Click and drag to orbit, scroll to zoom.