Help with random generation of smooth random black blobs image masks

Godot Version

v4.3.stable.official [77dcf97d8]

Question

So i want to randomly generate some random black blobs with white backgrounds like the picture below:

I am wanting to us it to deform a plane mesh to basically make unique and interesting lakes. I am a bit stumped on where to start as Visual Shaders are nice to help me visualize what the mathematical functions are doing to the noise but they seem really limited. Shaders are fairly confusing but i am definitely willing to learn. Also would this be better off being done just in regular GDscript and not a shader at all?

I am by no means looking for someone to just give me a piece of code that does exactly what i am looking to do but if there was any pieces of advice, plugins, libraries, or examples that might help me at least figure out a path forward it would be greatly appreciated!

The shader function step could achieve what you seek with a noise texture, this problem is well within the capabilities of shaders. Here are some more resources worth studying.

Oh awesome! This is really helpful! Another question, are there any built in functions for things like low pass filtering, erosion, dilation, etc.? or are there any libraries i can add to make it easier to do things like that?

smoothstep could be worked as a low pass filter, I’m not sure what you mean by erosion or dilation. Keep in mind the built in shader functions are going to be at most linear algebra.