Blender Git Loki

Git Commits -> Revision 3f24cfb

Revision 3f24cfb by Brecht Van Lommel (master)
April 1, 2021, 10:31 (GMT)
Cycles: light spread importance sampling for rectangular area lights

Compute a subset of the area light that actually affects the shading point
and only samples points within that.

It's not perfect as the real subset is a circle instead of a rectangle, and
the attenuation is not accounted for. However it massively reduces noise for
shading points near the area light anyway.

Ellipse shaped area lights do not have this importance sampling, but do not
have solid angle importance sampling either.

Ref D10594

Commit Details:

Full Hash: 3f24cfb9582e1c826406301d37808df7ca6aa64c
Parent Commit: a4260ac
Lines Changed: +81, -8

2 Modified Paths:

/intern/cycles/kernel/kernel_light.h (+26, -6) (Diff)
/intern/cycles/kernel/kernel_light_common.h (+55, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021