material1_radiance.cu:closest_hit_radianceΒΆ

Simple labertian shading used for ray trace images.

prd.result.w provides the z-depth which is used to allow compositing of raytrace images and rasterized images