- Home /
Materials Stretching on Meshes
I would like my materials to not stretch out or in when they're placed on different sized meshes.... when cubes are smaller or stretched, the material stretches with it. It's set to "Wrap".
The way a texture is applied to a surface is defined by the mesh's UV mapping.
Answer by tanoshimi · Apr 19, 2016 at 10:48 AM
Or, don't bother with UV mapping but use a custom shader that applies the texture in world-space coordinates rather than texture mapped to the object. This is how triplanar shaders work, for example.
Answer by Eric5h5 · Apr 19, 2016 at 07:37 AM
You need a different unique material for each different mesh, or else modify the meshes in a 3D app and set the UVs appropriately, instead of stretching them in Unity.
Answer by KaushikRahul · Apr 19, 2016 at 08:51 AM
Its all about the UV mapping here. If you do the UV mapping properly this won't happen. Each and every texture in the game has to be UV mapped properly so the textures won't appear to be wearing or tearing.
So i would suggest to take your models back to your modelling software and map them properly.
:) :)
Your answer
Follow this Question
Related Questions
Cant put material of Unity on mesh created with C4D 1 Answer
How do you bend a 2d texture in 3d?,How do you bend a 2D object in 3D? 0 Answers
Applying Tileable Texture to Imported Mesh 1 Answer
Using the right terminology 1 Answer
Do I need to manually destroy material/model instances that are lazily copied? 2 Answers