Just use a texture to determine the mix between two shaders

[![enter image description here][1]][1]


  [1]: https://i.sstatic.net/MC7TG.png