Thickness/morphology of functional material patterned by topographical discontinuous dewetting