Scale an object in any direction and retain the texture and UV.

I was trying to scale an object in either X,Y or Z axis . But when we scale the object the texture too gets scaled and the tiling changes.

I wanted to know is it possible to stretch the uv of the object as we scale the object. And is it possible to scale an object and retain the texture tiling, if so can anyone plz let me know the process.

I’m a little confused. As far as I know, UVs do scale with the model. So if you have a model that has a face which maps exactly to the top left 1/8 of your texture, when you stretch or scale the model to any size, that face is still mapped to that 1/8 corner of the texture. Granted, if you’re distorting the model in some way, that means it also distorts the way your texture is displayed.

Can you post a screenshot or two showing what it is you’re trying to resolve?

1 Like

Agreed… the only way I can imagine that the tiling of a texture would change is if you’re using some funky procedural shader. But that hardly seems like something a beginner would do.

If I’m getting your question right, set the Clamp or Repeat parameter in the texture inspector. Clamp forces the texture to match the geometry and Repeat keeps the texture size fixed and repeats the texture horizontally and vertically. Adjusting the tiling is done in the material shader Inspector.

Hope that helps.

1 Like

You can up the tiling in the material