I have a subdivided mesh that I use as a terrain, and allow users to raise or lower parts of the mesh to design landscape. Right now it simply stretches the texture out with the adjusted vertices, but I'd like to make it so if the terrain angle gets steep enough, it starts to blend into a different texture.
Also if possible, the angled texture could be different based on the Y coord of the point being textured.