Using Material Functions with Landscapes

I can’t use the HeightLerp node because its not compatible with the material function node because they are not a Vector3.