SetHeights to a Negative

I’m creating a procedurally generated landscape. I can use the SetHeights function to increase the height of the terrain, creating mountains and ridges. I want to also create depressions in the terrain, but unfortunately SetHeights isn’t accepting negative numbers for the heights array. For instance, in SetHeights(x,y,z[,])–if z has any negative numbers in it, they do not affect the heightmap.

I suspect this is because the heights array is suppose to be populated with numbers in the range of 0 to 1. If that’s the case, how do I go about creating a depression in the terrain?

You just make the baseline height something above 0. If the baseline is .5, then anything above that is raised and anything below it is a depression.