I used an alternative method to math.noise called fractal brownian motion to generate terrain. I want to make islands out of the terrain it generates (seen in the picture below)
I’ve looked at various different resources, and another idea I had was to increase the amplitude (exaggerates the height of the terrain) and have any parts below a certain Y position be considered water. However, if I increased the amplitude, the island’s terrain wouldn’t be as flat as it was before
I fixed this by taking the Y position of any land that isn’t in the water and doing ^0.5 to it. This made the island really really flat but I was able to fix it by changing the 0.5 to another number and messing with the different properties I have set up