I'm creating a tile based game but I hate the look of the independant tiles ending abruptly...
I have come up with an idea of using a shader but I would like some feedback/input of other approaches you guys may have.
So far my idea is to use simple entities (2 polygon square) instead of sprites so I can have multimple skins.
Each entity will have four skins. At creation the first three skins are the same (the base texture of the tile) and the fourth is a "blend-map". An example of the fourth skin is shown above.
when the level is created each tile will have it's second skin set as the same as the tile to the north, and the third skin set the the same as the tile to the east.
My initial idea is to use a simple shader that will sample the first skin and blend it with the 2'nd and 3'rd using the fourth. Where the fourth is coloured black the shader will sample the first skin, where it is red the second skin will be blended over it, and where the fourth skin is green it will blend the third skin.
But I am not too happy with the results this shader would produce... I have tried to come up with different "blend-skins" but the results all seem to be terrible when i duplicate and colour it in to see what the shapes would look like. An example for the tile skin shown above would be this:
I am not asking for the shader to be done for me nor asking for code. What I want are concepts... I know many games blend tiles pretty well but I can't seem to figure out how they do this.
So basically what I have is a design problem, I'll deal with the programming myself once I know what to program. I have a couple questions for anyone that has any ideas for this.
-If this shader idea is the best route... Could I get any examples of what you think the fourth (blend-map) skin should look like for this to look good?
-Do you have any better ideas? Mabe it is much simpler than what I am trying to think about. Mabe there is a better approach to this shader, mabe three skins are not needed, mabe it can be done some other way withought using a shader alltogether! I am all ears for any other concepts you guys come up with.