Problem with Landscape Painting "Materials"

Hi There, i’m having problem with Unreal Engine while painting the landscape with multiple materials! even thought i tried to follow step by step more than a tutorial just to be sure this is one of them UE4 Tutorial - Virtual Porfolio Gallery #4 - Advanced Landscape Painting for the Foliage Room - YouTube , but always i have the same problem which is when i try to paint just a small part it paints all the Section ! : https://gyazo.com/1d1ef51d8b1329dfde896e96f38ad0a9
here is a gif while setting the layers https://gyazo.com/a389d3eabc9af2fa04986ac92476cfc9
and There are the mat nodes https://gyazo.com/f9d7c6c7398596374a99b7477a7798fe

and Thanks!

Hello Crydrop,

I am not quite sure what is causing your issue but I ran a test and was able to see similar results.

What I did was create a material similar to yours with 3 layers. I then applied that to the landscape. I then painted with one of the layers. What you see is a preview of the landscape as it thinks it should look. Usually this is black. When I painted I saw very large squares where the engine tried to estimate how your texture should look when painted. What I do is paint the entire landscape with one main paint layer. Then, I build the lighting. After that, I painted with a smaller brush with a different layer. When you first paint with a new layer the shader will recompile as you are adding new data on the map you are on but as soon as it finishes everything should paint as you would expect.

Before painting the entire layer :

After paint :

If you have any further questions about this particular issue feel free to post again.