Are you able to get the skew parameters of the wall? When the shadow hits it at the bottom, the remainder of the shadow will always go straight vertically up the wall. You might be able to use this to cheat a good looking effect.
Have you even been far as decided to use even go want to do look more like?