That you ought, when representing objects above the eye and on one side—if you wish them to look detached from the wall—to show, between the shadow on the object and the shadow it casts a middle light, so that the body will appear to stand away from the wall.
Taken from The Notebooks of Leonardo da Vinci edited by Jean Paul Richter, 1880.