Changed material struct and function for the new ray direction, which is now a combination of specular and diffuse (and in future hopefully directional) rather than an if-else case.