Is there a way for a stretchable object like a road(don’t dare say landscape splines) to automatically adjust the detail texture. I’m trying to create a road spline blueprint and stumbled on this problem.
Sure.
If you multiply the texture coordinates with a Scalar Parameter you can change the tiling amount of you texture which in this case would be the “size” parameter. If you Multiply it with a 2D Vector you can change the X and Y tiling independently - in this case “TilingX” and “TilingY” which are than appended.
(You can leave away the multiplication with “size” if you don´t need to adjust general tiling of the texture.)
You can than simply adjust “TilingX” and “TilingY” inside you Blueprint if you apply a Dynamic Material to your Object.
Well, I kinda meant if it was possible to do it automatically. I’d have to create a material instance for every object with an unique scaling factor.
Same problem here. Either limit the spline point distance to the mesh or calculate the difference from the spline point distance and multiply it with the texture tiling above. Guess i am going to try the second method over the next few days as there is no obvious solution found anywhere on the forum. Which is really strange. Found 4 posts with the same problem. Some even dating back to 2014.