How to make the material stretch the texture throughout the mesh?

You can learn more about it on google