Landscape visibilty problem

Hi, I have this problems when I’m trying to paint a hole on my terrain, that chunk will turn black, I use hightmap input to draw the landscape

The terrain before a hole:
293b6a8be62f02fee20e4c5b42c8abb169d1386b.jpeg

The terrain after the hole:
9c69fe49e1d42f3d11c37af6926518f43c201581.jpeg

And the material:

Anyone that knows how to fix it?

Note: The material for the landscape is the same just without the landscape visibility note