Hi! Looks like I found a bug with COMBINED_SCATTERING_TEXTURES. As you can see above, the single_mie_scattering is already unpacked returned from the function GetCombinedScattering:
I figured it out and realized that it was on purpose to calculate single_mie_scattering by the difference in the red channel instead of the difference of the extrapolated values
Hi! Looks like I found a bug with COMBINED_SCATTERING_TEXTURES. As you can see above, the
single_mie_scattering
is already unpacked returned from the functionGetCombinedScattering
:Therefore, re-unpacking to
single_mie_scattering
in aGetSkyRadianceToPoint
looks incorrect.