I created this flames and lava material in Unreal Engine 5, which sliders manipulate the scale of the fire, movement of the texture, and area affected by the material.
Flames or lava effect in action using Unreal 5
The use of a mask allows the opacity manipulation along the object
These nodes determine how much of the texture is visible and the intensity of the color of the texture
It all comes together with a "SimpleGrassWind" function, a fresnel node and the parameters that multiply the vertex normals, along the fire mask.