- Home /
One texture for two differents walls
Sorry for my english.
I have one texture and two walls of very different width.
Actually the texture is small on one wall and big on the other.
Change the 'tiling' parameter affect the two walls.
How can I do for have the texture at the same width and height on the two walls ?
thanks
Answer by Jessy · Dec 13, 2009 at 02:17 PM
In your UV map, start off with a projection that introduces as little distortion as possible. Move the lower-left corner of each wall section to (0,0,) in the UV map. Scale if necessary, and then move the walls along the X axis of the UV map, until it looks good.
Answer by TowerOfBricks · Dec 13, 2009 at 03:17 PM
Or just make a two different materials with different tiling parameters, then you don't have to mess around with modeling programs.
You would have to use two different meshes, not just two different materials. This is doable, but a poor use of resources. In addition, in the future, it will be much easier to just select all vertices in a modeling app and do a quick scale, ins$$anonymous$$d of adjusting the tiling parameter for every single wall in Unity. UV mapping is more work to begin with, but it will make your life easier in the long run.
Yes UV mapping is easier if the two walls are in the same mesh, otherwise using two materials is the best, he deasnt state if they are in the same mesh or not in his post.