Blender Git Commit Log

Git Commits -> Revision dc1db07

Revision dc1db07 by Lukas Stockner (master)
February 6, 2020, 02:37 (GMT)
Cycles: Track specular throughput to account for reflection color in denoising albedo pass

To determine the albedo pass, Cycles currently follows the path until a predominantly
diffuse-ish material is hit and then takes the albedo there.
This works fine for normal mirrors, but as it completely ignores the color of the bounces
before that diffuse-ish material, it also means that any textures that are applied to the
specular-ish BSDFs won't affect the albedo pass at all.

Therefore, this patch changes that behaviour so that Cycles also keeps track of the
throughput of all specular-ish closures along the path so far and includes that in
the albedo pass.

This fixes part of the issue described in T73043. However, since it has an effect on the
albedo pass in most scenes, it could cause cause regressions, which is why I'm uploading
it as a patch instead of just committing as a fix.

Differential Revision: https://developer.blender.org/D6640

Commit Details:

Full Hash: dc1db0791ec3b2d52e6734054a001814cd6998ee
Parent Commit: 8c35393
Lines Changed: +31, -18

4 Modified Paths:

/intern/cycles/kernel/kernel_accumulate.h (+2, -1) (Diff)
/intern/cycles/kernel/kernel_passes.h (+26, -17) (Diff)
/intern/cycles/kernel/kernel_path_state.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021