diff options
Diffstat (limited to 'intern/cycles/kernel/kernel_light.h')
-rw-r--r-- | intern/cycles/kernel/kernel_light.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/kernel/kernel_light.h b/intern/cycles/kernel/kernel_light.h index 0be8a9eab99..846ec801f77 100644 --- a/intern/cycles/kernel/kernel_light.h +++ b/intern/cycles/kernel/kernel_light.h @@ -173,6 +173,8 @@ ccl_device float3 sphere_light_sample(float3 P, float3 center, float radius, flo * An Area-Preserving Parametrization for Spherical Rectangles. * * https://www.solidangle.com/research/egsr2013_spherical_rectangle.pdf + * + * Note: light_p is modified when sample_coord is true. */ ccl_device float area_light_sample(float3 P, float3 *light_p, |