Tunable surface morphology via patterned cavities in soft materials