First time editing a material, don't really know how it works

I’m currently editing the M_CobbleStone_Pebble material, and here’s what I want to do:

192511-screenshot_9.png

  • There are grey spots areas used to make the texture look more randomized, I’d like to, only inside these spots, make the pebbles be grey. For that, I created the picure attached to this post. I really don’t know if it makes sense, cause this is my first time editing a material, I’m pretty new to creating games overall.
  • Make the grey areas occupate more space, increasing their size over the pebbles texture.

I don’t want to occupate your time, but understanding what I’m doing is what is gonna make me better at working with this. Thank you, I’ve attached a few screenshots to make it easier to understand.
192513-

Thanks very much, I still can’t achieve what I wanted but thanks for helping out, I’m a bit closer to it now

Thanks very much, I still can’t achieve what I wanted but thanks for helping out, I’m a bit closer to it now

i think this is what youre going for?

youre on the right track. You can “make the grey areas ocupate more space” by changing the B values in all those Add nodes (btw all those textures are the same one called “Macro Variation” and its extremely useful). you can use the ONE MINUS node to get the Opposite of the value you had. you can use that in the alpha pin in a lerp, the white parts of that texture will be whatever is plugged into B in that lerp, and the black parts of the texture will be whatever is plugged into A in that lerp.