photon_diffuse VEX function

Generates a new diffuse photon path randomly distributed over the hemisphere defined by P and N, with energy Cl.

Context: photon

  1. void photon_diffuse(vector P, vector N, vector Cl)

Generates a new diffuse photon path randomly distributed over the hemisphere defined by P and N, with energy Cl.