You can do this in Sketchup. It turns your topographical contours into 3D. You can export the result as an image. Or, you can export the shadow to use as an overlay on your map.