Not quite sure but I think I just used a volumetric light then manually darkened the areas further away from the model.