Hey guys,
I had a question concerning the best way to smooth out lines that represent borders on a map. Currently I have the following:

My current implementation includes finding all of the points (pixels) for a border on a PNG texture that represents the map and then creating triangle meshes from them. As you can see however, my lines aren’t very smooth and I’m wondering what would be the best route (algorithm) to smooth them up.
Note also that for each province I render a border, so really the border that you see in the image is made up of two sides. Any smoothing algorithm will need to keep both sides of the border in sync (the thickness of the border is also controlled by a BorderWidth variable).
Also (side question), when I apply a normal map to the terrain I get this weird shadow in the “Scene” View…, not sure if that’s normal but I thought I’d slip in that question.
Thanks!
Not sure where my comment went... trying again. So in the image above the lines are actually a mesh to simulate dynamic borders. My biggest issue was how I was drawing that mesh. In the end I came up with a way to draw lines to represent sides of the border. Here are the results. https://www.youtube.com/watch?v=myu94gqPzHE
– NightAvailIt would be very useful if you came back with an Answer to your question and how you solved it. Your video just show results, it does not answer the question. I'd be happy to hear how you choose to do it.
– marcuslind90