Ground reflection in view factors

Hi,

In the attached file, I am trying to calculate the view factors matrix for each face of a building. As I will later on try to calculate the longwave radiation, I need to take the ground reflection into consideration. For now, with the ViewPercent function, I have only the sky and the buildings obstruction. Do you know how can I add the ground albedo ?

Thanks in advance.

maillage2.gh (29.5 KB)