Using Material Functions with Landscapes

In essence I want to “Lerp” actual materials together with different coordinates like I can with textures.