The light on the Enterprise might be different than your light at home, so shadows aren't relevant.
This thought experiment is just a way of expressing the idea that only the pyramids, their configuration, and the surface can matter - but it sometimes helps when explaining the rule.