How to Blend B/W Grass/Dirt like in Torchlight 2?

Seems like a tile map.
Maybe all transitions are hand drawn.