Tuning surface wettability through volumetric engineering