Using Material Functions with Landscapes

Any here is what the functions look like. Should be the same as yours.