Re: Denoiser clamps render
Posted: Wed Oct 03, 2018 10:03 pm
Mmmm, may be something related to alpha pre-multiply, I will check.
Show your work, get help, participate in development
http://forums.luxcorerender.org/
I will further elaborate: BCD plugin assume a gamma correction of 2.2, it will do a mess with the scale if gamma correction is not used. I will fix this behavior.
Code: Select all
[LuxCore][37.933] film.outputs.0.type = "RGB_IMAGEPIPELINE"
[LuxCore][37.933] film.outputs.0.index = 0
[LuxCore][37.933] film.outputs.0.filename = "RGB_IMAGEPIPELINE_0.png"
[LuxCore][37.933] film.outputs.1.type = "RGBA_IMAGEPIPELINE"
[LuxCore][37.933] film.outputs.1.index = 0
[LuxCore][37.933] film.outputs.1.filename = "RGBA_IMAGEPIPELINE_0.png"
[LuxCore][37.933] film.outputs.2.type = "ALPHA"
[LuxCore][37.933] film.outputs.2.filename = "ALPHA.png"
[LuxCore][37.933] film.outputs.3.type = "RGB_IMAGEPIPELINE"
[LuxCore][37.933] film.outputs.3.index = 1
[LuxCore][37.933] film.outputs.3.filename = "RGB_IMAGEPIPELINE_1.png"
[LuxCore][37.933] film.imagepipelines.1.0.type = "BCD_DENOISER"
[LuxCore][37.934] film.imagepipelines.1.0.scales = 3
[LuxCore][37.934] film.imagepipelines.1.0.histdistthresh = 4
[LuxCore][37.934] film.imagepipelines.1.0.patchradius = 1
[LuxCore][37.934] film.imagepipelines.1.0.searchwindowradius = 3
[LuxCore][37.934] film.imagepipelines.1.0.filterspikes = 1
[LuxCore][37.934] film.imagepipelines.1.1.type = "NOP"
[LuxCore][37.934] film.imagepipelines.1.2.type = "TONEMAP_LINEAR"
[LuxCore][37.934] film.imagepipelines.1.2.scale = 1
[LuxCore][37.934] film.imagepipelines.1.radiancescales.0.enabled = 1
[LuxCore][37.934] film.imagepipelines.1.radiancescales.0.globalscale = 1
[LuxCore][37.934] film.imagepipelines.1.radiancescales.0.rgbscale = 1 1 1
[LuxCore][37.934] film.imagepipelines.0.0.type = "NOP"
[LuxCore][37.934] film.imagepipelines.0.1.type = "TONEMAP_LINEAR"
[LuxCore][37.934] film.imagepipelines.0.1.scale = 1
[LuxCore][37.934] film.imagepipelines.0.radiancescales.0.enabled = 1
[LuxCore][37.934] film.imagepipelines.0.radiancescales.0.globalscale = 1
[LuxCore][37.934] film.imagepipelines.0.radiancescales.0.rgbscale = 1 1 1
You don't just add RGBA_IMAGEPIPELINE, you are also switching between "path.forceblackbackground.enable = 0" to "path.forceblackbackground.enable = 1". It is the black background (lowering the average image luminance) to trigger the problem, it had nothing to do with enabling/disabling ALPHA channel.
Yes, sorry. I can confirm that it's fixed now.
That was the missing piece of the puzzle.Dade wrote: ↑Tue Oct 09, 2018 10:48 am you are also switching between "path.forceblackbackground.enable = 0" to "path.forceblackbackground.enable = 1". It is the black background (lowering the average image luminance) to trigger the problem, it had nothing to do with enabling/disabling ALPHA channel.