Hi
Lets say i want to use absorption
[0.00000717 0.00000063 0.00000047]
Then i input in LuxBlend
[0.71703359 0.06316786 0.04673223]
with scale 0.00001
But in exported file i find
"color sigma_a" [0.00000333 0.00002762 0.00003063]
Is this correct?
Moderator: coordinators
SATtva wrote:Gamma correction?

depthed = (-math.log(max([(float(i)),1e-30]))/(self.depth)) * self.absorption_scale * ((float(i))==1.0 and -1 or 1)

J the Ninja wrote:What you need is the "color" version of the constant texture...except that isn't exposed in luxblend25.![]()
J the Ninja wrote:Really, the color at depth system in lb25 needs to be overhauled a bit. It should also be using the colordepth texture instead of doing the conversion itself, since that would allow "texture at depth". I was thinking maybe have a checkbox for "color at depth" which uses the colordepth texture if enabled, or simply exports the value if disabled, then either way runs things through a scale texture to handle the absorption scale.

Users browsing this forum: No registered users and 0 guests