How to blend the object material with landscape material?

Thank you MrGrr. So do you happen to have any ideas of how to do that in Tesselation or the depth buffer? Or do you know any tutorials that talks about this?