Some small tweaks to the diffuse material and caching of random numbers