What I’m plugging into A and B are materials functions, that are materials put together by the MakeMaterialAttributes node and made into material functions for easier organization and blending.
The cheap if essentially blends things at 50% gray (from a mask that you put in, creating a sharp line)
The sampled painted masks from the landscape, gradually falloff, so this will help it create that sharp line in the mask itself.