Adaptive volumetric light and atmospheric scattering
Fig 7
3D texture for accumulating scattering coefficient and paticipating media density.
a) At slice i (from 0 to N-1), read the coefficients of in-scattering and transmittance. b) Add the above coefficient and transmittance to the accumulating texture. c) Write out the accumulated in-scattering and transmittance to another volumetric texture at the same position. d) Increase i and proceed back to Step a.