Create Material Functions instead of Material, use “Make Material Attribute” for return value. Then, inside material you can create your Material Function instances and blend them with MatLayerBlend