Raybounce - Raytrace

These threads could probably help:
http://dynamobim.org/forums/topic/a-challenge-for-the-dynamo-pros-to-do-with-shadows/

See also this advanced tutorial on the Learn page: UNIT 6: SOLAR ORIENTATION
http://dynamobim.org/learn/

And I wonder if some of the nodes presented here could not also be useful: