texture mapping method

Hi everyone,

I’m beginer at Unity, I found several way to texture mapping in Unity, and i want to know what’s the best solution to apply texture to human head in unity using scripts.

Thanks in advance for your help

Best way is probably not to do it.

The texture mapping (also called the UV map) is almost always pre-done by the person who made the model – usually called unwrapping. Even a flat plane has the texture pre-mapped, to say if it runs L to R or Up/Down.

If you open up a modelling program, you’ll see there are some “auto unwraps” you can click. For example, a head could use a cylinder unwrap. But the hair tends to be a streaky blurry mess. It takes a human to “cut out” the face, put some seams on the head… .

In practice, you’ll just have several head textures and swap them around. You should be able to find some unwrapped models and textures to get a feel for it.