The object blocking the path of light must be opaque or translucent to make a shadow. A transparent object will not make any shadow, as the light will pass through it.