I’m trying to create a simple rock mesh as a detail mesh, following instructions here.
http://unity3d.com/support/documentation/Components/terrain-DetailMeshes.html
Needless to say, if I use the standard assets rock, I am perfectly able to add the rock to the terrain mesh details list, and then I’m able to paint the rock into the terrain.
However if I use a mesh created by me, a simple mesh with a simple texture correctly mapped upon it, upon placing my rock detail mesh will get the first texture of the terrain details list. I am aware that the object needs be added as ‘vertex lit’ so that’s not the issue. It’s actually plain obvious that the texture is the first of the atlas.
Besides, If I manually place the mesh into the scene, it will be rendered correctly instead.
My conclusion after several hours wasted upon this retarded issue, is that there’s a problem with UVs… but I can’t figure out what on earth the documentation means.
Where do I set the UVs range? In the 3d editor? I’ve checked out with blender and even if I perfectly know how to set and map an image into the 3d model, I am unable to understand what are these UVs the documentation speaks of.
Please help me understand what are these UVs the documentation speak of, and where or how am I supposed to set their range into “0-1”.
Thanks.