Shadow-hiding effect in inhomogeneous layered particulate media