Material Function Blending

Hey guys! At the moment I am working on my graduation work but due to a problem this has become a standstill. I a trying to approach the blending of 5 different materials in a different way other than making use of the LoD blending which doesn’t bring me the wanted result due to the dithering.

I am working on a way to blend 5 different material functions inside of one material based on the distance between the camera and the object itself. I first tested this on color values by use of a lerp. I then moved this working method to the material functions and applied it.

The result of this is that only the first Material attribute blend node will blend and output a visual result. From there on down the line nothing is working anymore.

If anyone knows a way to approach and fix this problem, or has some tips and tricks. They are more than welcome and appreciated! Thank you in advance.

Material blending workflow with color values

Material function that I am using

Material with the material function blending