diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2017-01-27 06:46:52 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2017-02-01 07:00:16 +0300 |
commit | cf64c891f590c881f9317db79486081f9759ba42 (patch) | |
tree | 8dc330ff04b4d80078069a5359cd8e86a6964106 /intern/cycles/render/session.cpp | |
parent | a54b38c4f862717cceb6a240cb783ec5314700c6 (diff) |
Cycles Denoising: Fix Cross Denoising after Rendering
Diffstat (limited to 'intern/cycles/render/session.cpp')
-rw-r--r-- | intern/cycles/render/session.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/render/session.cpp b/intern/cycles/render/session.cpp index 72b2839eb65..f4dd529dd69 100644 --- a/intern/cycles/render/session.cpp +++ b/intern/cycles/render/session.cpp @@ -809,7 +809,7 @@ void Session::run_denoise() kernel_data.film.pass_stride = buffers->params.get_passes_size(); kernel_data.film.pass_denoising = buffers->params.get_denoise_offset(); kernel_data.film.pass_no_denoising = buffers->params.selective_denoising? kernel_data.film.pass_denoising+20 : 0; - kernel_data.film.denoise_cross = 0; + kernel_data.film.denoise_cross = buffers->params.cross_denoising; kernel_data.film.exposure = 1.0f; kernel_data.film.num_frames = buffers->params.frames; kernel_data.film.prev_frames = params.prev_frames; |