I looked a bit how other games do cliffs. Many of them use models to make the cliffs look nice. Maybe thats the way to go...
How many models would we need per tileset? 3 ? Regarding the cases a square can be streched to be a cliff we have the following cases:
- 1 vertice on top of cliff, 3 vertices on bottom
- 2 vertices on top of cliff, 2 vertices on bottom
- 3 vertices on top of cliff, 1 vertices on bottom
Each would need one special model ...
But how to handle the height of the model if we place it? We align it to the top of the cliff and let it simply go down into the ground or will this look bad in some cases ?
Or do we strech/shrink the models along the height axis to make them fit ?
I will think a bit more on how to do it....