diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2017-06-11 02:44:06 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2017-06-11 02:51:39 +0300 |
commit | 558bea225296751b849572122d6202b4ab1fa1cf (patch) | |
tree | 03a7269235f5055b70ab2f292c3900fd2e22904c /source/blender/blenlib/intern/BLI_kdopbvh.c | |
parent | 0dd6e5bfee3dee0ced75e9cb03e950627b59e75e (diff) |
Cycles Denoising: Add more failsafes for invalid pixels
Now, when there is no usable neighboring pixel for denoising, the noisy value
is preserved instead of producing a NaN.
Also, negative results are clamped to zero.
Note that there are just workarounds that don't fix the underlying problems,
but these issues are very rare and I'm not sure if it's even possible to fix
the underlying problems without introducing a significant slowdown or quality
decrease in other situations.
Because of that and since 2.79 is happening very soon, I just went for these
workarounds for now.
Diffstat (limited to 'source/blender/blenlib/intern/BLI_kdopbvh.c')
0 files changed, 0 insertions, 0 deletions