Development of a software tool for the evaluation of the shading factor under complex boundary conditions