- Mastering Unity 2017 Game Development with C#(Second Edition)
- Alan Thorn
- 224字
- 2021-07-02 15:38:29
Meshes - Minimize UV seams
Seams are edge cuts inserted into a mesh during UV mapping to help it unfold, flattening out into a 2D space for the purpose of texture assignment. This process is achieved in 3D modeling software, but the cuts it makes are highly important for properly unfolding a model and getting it to look as intended inside Unity. An edge is classified as a seam in UV space when it has only one neighboring face, as opposed to two. Essentially, the seams determine how a mesh's UVs are cut apart into separate UV shells or UV islands, which are arranged into a final UV layout. This layout maps a texture onto the mesh surface, as follows:

Always minimize UV seams where feasible by joining together disparate edges, shells, or islands, forming larger units. This is not something you do in Unity, but in your 3D modeling software. Even so, by doing this, you potentially reduce the vertex count and complexity of your mesh. This leads to improved runtime performance in Unity. This is because Unity must duplicate all vertices along the seams to accommodate the rendering standards for most real-time graphics hardware. Thus, wherever there are seams, there will be a doubling up of vertices, as shown here:

- JBoss Weld CDI for Java Platform
- 極簡算法史:從數(shù)學(xué)到機(jī)器的故事
- Spring Cloud Alibaba核心技術(shù)與實(shí)戰(zhàn)案例
- Visual Basic編程:從基礎(chǔ)到實(shí)踐(第2版)
- 你不知道的JavaScript(中卷)
- Python機(jī)器學(xué)習(xí):手把手教你掌握150個(gè)精彩案例(微課視頻版)
- Swift語言實(shí)戰(zhàn)精講
- C語言程序設(shè)計(jì)
- Java EE核心技術(shù)與應(yīng)用
- Arduino家居安全系統(tǒng)構(gòu)建實(shí)戰(zhàn)
- Java網(wǎng)絡(luò)編程核心技術(shù)詳解(視頻微課版)
- Hands-On Full Stack Development with Spring Boot 2.0 and React
- R數(shù)據(jù)科學(xué)實(shí)戰(zhàn):工具詳解與案例分析
- 寫給程序員的Python教程
- Hadoop 2.X HDFS源碼剖析