Treating diffuse elements as quasi-specular to reduce noise in bi-directional ray tracing