diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2016-09-09 18:01:49 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2016-09-09 18:01:49 +0300 |
commit | 3bba3d32412f2e30e4bd5b7d19cfed77b7f5594f (patch) | |
tree | 00f1568cf162d752c06b4726aa9bf5d1f8660fec /intern/cycles/render/session.cpp | |
parent | 42bd06306323df702bf108c1b1a7529086ba28f6 (diff) |
Cycles: Support filter strength for 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 a5a42cd68d2..568405bc528 100644 --- a/intern/cycles/render/session.cpp +++ b/intern/cycles/render/session.cpp @@ -806,7 +806,7 @@ void Session::run_denoise() kernel_data.film.num_frames = buffers->params.frames; kernel_data.film.prev_frames = params.prev_frames; if(scene == NULL) { - kernel_data.integrator.filter_strength = 1.0f; + kernel_data.integrator.filter_strength = params.filter_strength; } device->const_copy_to("__data", &kernel_data, sizeof(kernel_data)); |