Commit: 6503b4f90f3336b22eff0bd0b61f86fd2cfd531b
Author: Brecht Van Lommel
Date: Mon Mar 11 09:13:46 2019 +0100
Branches: blender2.7
https://developer.blender.org/rB6503b4f90f3336b22eff0bd0b61f86fd2cfd531b
Fix T61831: Denoising Clean pass not scaled correctly with samples.
===================================================================
M intern/cycles/render/buffers.cpp
===================================================================
diff --git a/intern/cycles/render/buffers.cpp b/intern/cycles/render/buffers.cpp
index 66b8ef73acc..c81eafdbc08 100644
--- a/intern/cycles/render/buffers.cpp
+++ b/intern/cycles/render/buffers.cpp
@@ -184,6 +184,7 @@ bool RenderBuffers::get_denoising_pass_rect(int type, float
exposure, int sample
if(type == DENOISING_PASS_CLEAN) {
/* The clean pass isn't changed by prefiltering, so we use the
original one there. */
offset = type + params.get_denoising_offset();
+ scale /= sample;
}
else if (type == DENOISING_PASS_PREFILTERED_COLOR &&
!params.denoising_prefiltered_pass) {
/* If we're not saving the prefiltering result, return the
original noisy pass. */
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs