I believe this is how planets in other solar systems are found.
They measure the light coming from the star and when a planet passes in front of it's star it creates a "wobble" or a slight reduction in the light
emitting from that star.
So yes, a shadow, even a minute one is cast into deep space.