The tile blending now supports diagonal neighbor detection. It’s not nearly as simple as the cardinal direction testing, because it’s geometrically more checks if you do them all. I decided to just use a table of specific variants, and the game tries to match them as best it can given the neighbor tiles.