float transmittance = Transmittance(opticalDepth);
#if SUPPORT_ASYMMETRY
// TODO: precompute and load it from the constant buffer to not waste a VGPR.
float phase = CornetteShanksPhasePartConstant(asymmetry);
#else
float phase = IsotropicPhaseFunction();