raytracer (brdf and pathtracing)

In this Homework for Ceng795 Advanced Ray Tracing course in Middle East Technical University, we are expected to integrate BRDFs into our…