Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2017-11-09 06:42:07 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2017-11-10 03:37:10 +0300
commita466d7ae248b2807b4e2f8693b458d3da509e9bc (patch)
tree391aec6ef5b349c46bd953ec7c08197bdcb84a8e /intern/cycles/device/device_cuda.cpp
parent21a535840df1887245b90376a0de427f2a848806 (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/device/device_cuda.cpp')
0 files changed, 0 insertions, 0 deletions