height of the shadow being also calculated over the z axis