Shadow Study Range Analysis on slope Topography

I am trying to generate a shadow range analysis on a slope topography and am having some issues. When I generate the shadow study on a flat surface, the analysis works fine. However, when I use a sloped surface the shadow study also gets applied to the topo rather than just the context. How would I go about removing the topo from being affected by the sun and only having the context shade be cast onto topo?

You need to edit the source code. The component calculates the intersection for both the input geometry and the context. This is required to include self-shading in the calculation.

Thank you for your quick response, it sounds like you have a lot more experience than I do. How would I edit the source code of the component to remove self shading?