diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-03-22 21:27:58 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-04-01 13:31:01 +0300 |
commit | 3f24cfb9582e1c826406301d37808df7ca6aa64c (patch) | |
tree | 23e816d0ebf5b23d4e68a4a5ec3dbcd75a218110 /source/blender/blenlib/BLI_math_matrix.h | |
parent | a4260ac21977acd5b9cd792f2a68c3aa78dd91cd (diff) |
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
Diffstat (limited to 'source/blender/blenlib/BLI_math_matrix.h')
0 files changed, 0 insertions, 0 deletions