This is a simple macro that takes in a shape guide (“shapes” node used in the example), and gives you a river valley. I’ve included a sample project for screenshots. You’ll need the latest release build 4031.2 to use this macro or project.
@HYLK It’s from the same old and deprecated “Teto” texturing macro (a heavily modified version at least). I’ve added a “grayscale gradient” output, try it out with custom colortables.