This has me stumped, when it should be so easy.
I have a black/white image map showing the outline of an island. I'm generating the island itself with fractal terrain, but the outline needs to be what I have in the image file.
My first thought was to use the image map as a min/max setter, so that everything ON the island is clamped to water height + 1, while everything that should be underwater is clamped to water height - 1. But I can't figure out how to create that min/max filter.
I'm not dead-set on doing it that way. If there is a better way to accomplish my goal, I'm taking it.