Static Mesh Using Landscape Coords

I simply want to use the same scaling for my WorldAlignedTexture on a mesh as the landscape material.

If I were to place a mesh with this material intersecting the terrain, the material would tile seamlessly across both objects.

I almost have this working- I’m using World Aligned Texture, I can set a V3 for the texture size. I tried to put a LandscapeCoords node there but it wants it a Z value because LandscapeCoords is only XY.

I can’t find any nodes that let me run separate vectors in and combine them- or is there a better approach?

I’d recommend using the same WorldAlignedTexture on both the landscape and the mesh. In that case you don’t need to use a LandscapeCoords node at all. The LandscapeCoords node just generates an X,Y from the landscape vertex locations with the scaling you request. WorldAlignedTexture generates texture coordinates from the world X,Y,Z location. If you want to change the scale, just multiply the 2D vector coming out of WorldAlignedTexture by a constant value before connecting it to a texture.