I'm seeing a guy on YouTube making a heightmap for sand dunes, using Gimp and Photoshop.
In Gimp > Filter > Generic he has this tool called "Erode"
Which accomplishes the following
I played around a bit with Photoshop filters but didn't find it. Do you how I could achieve something similar?