Floating Balls Illusion

In the top illusion image, the balls appear to be resting on the pattern. In the
bottom illusion image, there are three balls appear to be floating. But, if you look at them further detail, you will notice that they are not floating. Only the placement of the shadows is different.
Source: Amazing Illusion