Blender Git Loki

Git Commits -> Revision 4659fa5

Revision 4659fa5 by Lukas Stockner (master)
November 27, 2019, 20:26 (GMT)
Cycles: Scale denoising albedo contribution of Principled BSDFs according to average fresnel

The Principled BSDF uses Microfacet closures that include a fresnel term,
which are a special case since their weight tends to be near white even
if their average contribution is fairly low.

The sample weight is scaled by the average fresnel weight to account for
this, but the denoising albedo still used the unscaled weight.

This was fine for the original denoiser, but apparently OIDN can't handle
the resulting albedo pass well. Therefore, this commit adds the described
scaling to the albedo pass contribution as well.

This problem was described in T69770.

Reviewed By: brecht

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

Commit Details:

Full Hash: 4659fa547166b589cc8e3aef4b8dc699d95547df
Parent Commit: 7711231
Lines Changed: +43, -22

4 Modified Paths:

/intern/cycles/kernel/closure/bsdf_microfacet.h (+23, -12) (Diff)
/intern/cycles/kernel/closure/bsdf_microfacet_multi.h (+3, -9) (Diff)
/intern/cycles/kernel/kernel_passes.h (+11, -1) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+6, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021