The distance between the object and the source of light is one of the factors that affect the size of a shadow.