Hi! I am using 2 Material Layers on my static mesh with alpha masking. Is there any way to height-blend layer transition nicely? Or, better, use some 3rd proxy material in place where transition happens? The only solution I can think of right now, is to paint separate alpha mask somehow for the transition. But I wonder, maybe there is some clever way to do this inside the shader, like, calculate the edges or something like that. Or maybe there is some helpful function I might look into. And advice is appreciated! I have moren then 10000 mask images to process, so I need to figure out some automation solution.
Use the HeightLerp function and grab its alpha output and plug it into the MatLayerBlend alpha input.