Procedural Mesh: UV mapping

Posted by Esa on Game Development See other posts from Game Development or by Esa
Published on 2012-03-23T08:17:33Z Indexed on 2012/03/23 11:41 UTC
Read the original article Hit count: 315

I made a procedural mesh and now I want to apply a texture to it. The problem is, I cannot get it to stick the way I want it to.

The idea is to have the texture painted only once over the whole mesh, so that there is no repeating. How should I map the UV to make that happen?

My mesh is a simple plane consisting of 56 triangles. I'd add pictures to clear things up but I cannot since my reputation is below 10 points.

Any help is appreciated.

EDIT(Kind people gave me up votes, thank you):

Meet my mesh:

enter image description here

And when textured(tried to repeat the texture):

enter image description here

And my texture:

enter image description here

© Game Development or respective owner

Related posts about unity

Related posts about textures