If i'm getting what your asking.... a bump map should do what your wanting to achieve.
I am enough of an artist to draw freely upon my imagination, knowledge is limited, imagination encircles the world. (Albert Einstein)
https://www.artstation.com/kurtb