diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-11-09 06:42:07 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-11-10 03:37:10 +0300 |
commit | a466d7ae248b2807b4e2f8693b458d3da509e9bc (patch) | |
tree | 391aec6ef5b349c46bd953ec7c08197bdcb84a8e /intern/cycles/graph | |
parent | 21a535840df1887245b90376a0de427f2a848806 (diff) |
Cycles: better distance sampling for chromatic volume extinction.
Previously we picked one of the RGB channels with equal probability, but this
works poorly in a dense volume after many bounces. Now we take into account
the throughput and single scattering albedo.
This makes it a little more practical to do brute force SSS with volumes, but
is still very inefficient because we do direct light sampling at every volume
bounce even when inside an opaque mesh. In theory there could be a light inside
the mesh so we can't automatically disable direct lighting.
Diffstat (limited to 'intern/cycles/graph')
0 files changed, 0 insertions, 0 deletions