I have a 2D int array of tile ids, for example: 0: water, 1: land, 2: desert, etc. Tiles are rendered by returning a certain sprite from a given id. What would be the best way to connect the textures together so they match, instead of each individual tile rendering a specific sprite of grass or water, it would render a blend of the two.
Here are a few examples if you’re unsure what I mean.
Would I have to hardcode each possible texture connection or offset the sprite used based off what surrounds the tile?