Material function not working

I have this material function that i want to reuse for a lot of material in the main material but it appears blank for some reason
Imgur
Imgur
Imgur

These input types are wrong. Scalar is a single float, but landscape UVs ( which you are plugging in there ) are 2D:

303845-input.jpg

It worked sort of, it shows the material in the landscape paint nicely and all but when I paint it its just blank when the shaders compile

That’s a separate thing, you’ve run out of texture memory. Click on all the textures in your material and change ‘sampler source’ from ‘asset’ to ‘shared: wrap’.

Thanks a lot mate you helped me a bunch now everything works as it should