This video series is broken into three parts and covers creating a Height Blended Material with four distinct material variations and using vertex painting to blend them.
https://dev.epicgames.com/community/learning/tutorials/KYY/ue4-height-blended-materials-3-part-series