- Home /
Texture Mapping
My texture :
Here is the texture applied on a material, applied on the mesh. Problem is I want it to be 2 orange line on the extremities of the mesh and not that blob of linear big fat orange line. It need to follow the mesh as the center of the texture need to be the center of the mesh?
How do I do this, I read unity tutorial and couldnt figure it out
Problem is, I don't want the repeat, I want it to scale exactly the length of the mesh so that I have an orange strip on each side of the mesh.
Solution 1: change the uv's and re-export the mesh again. Solution 2: change the offset of the texture in inspector. Offset is always in Tiles, from 0-1. Offset of 0.5 means to shift by half of the current tile size. So, no matter what the tiling, if you see a texture is 1/2-way across a seam, offset 0.5 will fix it. Easiest to set tiling first, then tweak with offset. Also, offset of 1.5 is legal, but it's the same as 0.5 -- like rotation of 540 is the same as 180.
Depending on the unwrap, offset also tends to work backwards. 0.25 will often shift you left by 25% of a tiIe, ins$$anonymous$$d of right.
Your answer
