Dynamic Terrain in UE4

A great example is included with the Stylized Showcase with the ground material. It is set up so that, depending on height and angle, different terrain materials are applied.