I have two cubes with their own material with texture image perspectively. Now I join them, bridge their edges, and get some new faces. I want to give the new faces material to make the whole look nice. The target is to be like this: I think I can use shader nodes, sample the texture with uv coordinate, and mix it whith color ramp, but dont have any idea on implementing the sample step. I have read how-can-you-smooth-the-edge-between-two-materials and other similar questions. They give inspirations but their textures are all with regular color. If my cubes are like, the transition wont be good. For the colorful cubes, I want the point to point transtion.
What I am trying to do finally is that, I join an arm to a body from different characters and get additional transition mesh. I want to give the new generated mesh a new material with texture to make the connection part more natual. To be specific, 'more natual' means from one color to another color like it is in figure 1. I think I can use Bilinear Interpolation or Spline Interpolation and other theory, but dont know how to achieve it procedurally