Material Layers and Landscape issue

How do I get my landscape material to remove foliage as well as adding a new texture over? My landscape material uses grass output to place the foliage, and material function to optimize my materials. However, now that I can successfully place foliage on a specific texture, how can I go about doing the opposite plus adding a new layer over?

I’m assuming you have your landscape layers in place and everything set up.

You can’t prevent the foliage from spawning on the material with the foliage, and there will still be a little in the blended areas. The foliage will disappear when the texture is 100 % painted over with a different one.

To make 100 % sure an area becomes foliage free, set the paint brush tool strength to 1 when painting over the foliage texture. You can also REMOVE the foliage texture by holding down SHIFT when painting with the foliage-texture itself (shift will remove instead of paint).

I tried applying the texture with the strength of the brush being 1 but it still would not work. here’s the layout of the nodes that I used for the textures. Basically the textures overwrite the Material function texture to the proper on. The Material function is then passed onto texture blend and then to the output. The “NoGrass layer” works at removing the foliage so I basically used that logic and added a texture for my “path layer” while using the no grass layer nodes.