Procedural material + grass tool

so ive been playing with grass tool, its awesome time saver and you get good detail for the grass…
its working fine with layers, ive been trying to add this to procedural material without success.

landscape:

full material:

upper part of material where is grass textures:

ive tried to make layers, connecting grass straight to textures, alphas, multiplying it with different stuff, no luck. what should i do with grass node? are layers must?

no any clue how to add layers been trying lot of different stuff, i got a feeling this is not the way to do material like this… lerps and layers are just not working together well… dunno. if theres someone who could help that would be cool.

ok i managed to do something by combining couple tutorials…

landscape with sand,grass, 2 different rock materials.
grass tool is set to angles and starting from world location 6450+, so theres no foliage underwater and limit is near sand.

full material setup: no layers, which is problem. physical materials can be added only in layers. painting paths is not possible with this setup, well its possible to add it but painting path doesnt remove foliage, i need to add layers so i can hook grass tool into grass layer, then i can get different footsteps and painting paths correctly

ok i finally found the solution… i kept around 1-2 week break, opened editor and solved this like in under 5minutes. sometimes you just have to have a little break! :smiley:

so you can now paint paths and the grass will appear only on grass texture.

full material setup, adding layers and just little simple math and it will work!

results

huge 2x2km level with this system, awesomeness…

project continues at last…