blender/intern
Lukas Stockner 4659fa5471 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
2019-11-27 21:26:47 +01:00
..
atomic Cleanup: comments (long lines) in atomic 2019-05-01 20:34:12 +10:00
audaspace Cleanup: clangg-format for rB157cc54ed521 2019-04-28 11:48:55 +02:00
clog Cleanup: quiet warnings 2019-10-07 12:22:05 +11:00
cycles Cycles: Scale denoising albedo contribution of Principled BSDFs according to average fresnel 2019-11-27 21:26:47 +01:00
dualcon Fix T53581: remesh modifier artifacts in sharp mode 2019-06-17 18:53:49 +02:00
eigen ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
elbeem Fix build errors with older GCC versions like 4.9 2019-08-13 06:04:17 +02:00
ffmpeg Use FFmpeg's own av_guess_frame_rate() function instead of guessing ourselves 2019-09-19 15:12:53 +02:00
ghost Cleanup: doxygen comments 2019-11-25 01:51:11 +11:00
glew-mx ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
guardedalloc Fix T70952: EXR files bigger than 2GB don't open on Windows 2019-11-06 17:16:46 +01:00
iksolver Cleanup: Fix build error with MSVC 2019-08-21 10:38:33 -06:00
itasc Cleanup: use 2 space indentation for CMake 2019-04-17 06:35:54 +02:00
libmv Cleanup: spelling, repeated words 2019-11-25 00:55:11 +11:00
locale Cleanup: comments (long lines) in various intern/ libs 2019-05-01 21:00:56 +10:00
memutil Cleanup: doxygen comments 2019-11-25 01:51:11 +11:00
mikktspace Cleanup: unused structs, struct members 2019-10-03 07:39:45 +10:00
numaapi Update NUMA API library to latest version 2019-10-07 12:59:51 +02:00
opencolorio Curve: CurveMapping Extend Option 2019-11-27 16:05:54 +01:00
opensubdiv OpenSubdiv: Initial implementation of batched evaluation 2019-10-30 15:15:56 +01:00
openvdb Windows: Switch to the dynamic C runtime 2019-11-08 09:01:00 -07:00
quadriflow Cleanup: style 2019-10-21 15:05:56 +11:00
rigidbody Cleanup: comments (long lines) in rigidbody 2019-05-01 20:48:34 +10:00
smoke Cleanup: use 2 space indentation for CMake 2019-04-17 06:35:54 +02:00
string Cleanup: comments (long lines) in string 2019-05-01 20:32:38 +10:00
utfconv Cleanup: spelling, repeated words 2019-11-25 00:55:11 +11:00
CMakeLists.txt Cleanup: clang-format, trailing space 2019-10-23 01:06:15 +11:00