Blender Git Commit Log
Git Commits -> Revision a466d7a
Revision a466d7a by Brecht Van Lommel (master) November 10, 2017, 00:37 (GMT) |
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. |
Commit Details:
Full Hash: a466d7ae248b2807b4e2f8693b458d3da509e9bc
Parent Commit: 21a5358
Lines Changed: +68, -29
1 Modified Path:
/intern/cycles/kernel/kernel_volume.h (+68, -29) (Diff)