Clamping Max Brightness
Posted: Fri Mar 13, 2020 6:10 pm
Hello LuxCore community, hope you are all well.
I'm trying to understand how clamping in LuxCore works but i find it hard.. even with the "artistic" unit type for lights.
lights using "power" unit type has two values (power and efficacy), while clamping's "max brightess" is only asking for one value.
i do not know how to make power and efficacy values produce something that clamping's "max brightness" can use.
Say that i have a single light source using "power" as the unit type, with the default values (power=100W and efficacy=17).
How do i go about setting a clamp value such that the brightest pixel is never brighter than my light source's intensity?
Is there a formula for this somewhere? (i apologize if there is but i can't find it, i've looked)
I am aware that what i'm aiming for is not physically accurate as light is additive and multiple lights WILL interfere constructively.
the noise reduction just seems very appealing.
lights using "artistic" unit type has only one value (gain) which looks like it will work with clamping's "max brightness" so i tested it.
the image below has two spotlights using "artistic" unit type with a gain value of 100 per light.
clamping is enabled and max brightness value is set to 100.
what i figured would happen is that when these two lights illuminate a single spot on the floor, pixels corresponding to that spot will only be illuminated with 100 gain; meaning that these lights must not add their brightness on said spot since the whole render is clamped to 100 max brightness.
the pixels where these two lights meet still seem to produce twice the brightness.
sorry for the dumb question, i look forward to all your answers.
please be safe and don't eat bats!
I'm trying to understand how clamping in LuxCore works but i find it hard.. even with the "artistic" unit type for lights.
lights using "power" unit type has two values (power and efficacy), while clamping's "max brightess" is only asking for one value.
i do not know how to make power and efficacy values produce something that clamping's "max brightness" can use.
Say that i have a single light source using "power" as the unit type, with the default values (power=100W and efficacy=17).
How do i go about setting a clamp value such that the brightest pixel is never brighter than my light source's intensity?
Is there a formula for this somewhere? (i apologize if there is but i can't find it, i've looked)
I am aware that what i'm aiming for is not physically accurate as light is additive and multiple lights WILL interfere constructively.
the noise reduction just seems very appealing.
lights using "artistic" unit type has only one value (gain) which looks like it will work with clamping's "max brightness" so i tested it.
the image below has two spotlights using "artistic" unit type with a gain value of 100 per light.
clamping is enabled and max brightness value is set to 100.
what i figured would happen is that when these two lights illuminate a single spot on the floor, pixels corresponding to that spot will only be illuminated with 100 gain; meaning that these lights must not add their brightness on said spot since the whole render is clamped to 100 max brightness.
the pixels where these two lights meet still seem to produce twice the brightness.
sorry for the dumb question, i look forward to all your answers.
please be safe and don't eat bats!