A substrate independent approach for generation of surface gradients