Do I have to use shared vertices in mesh in Unity?

前端 未结 2 1087
悲&欢浪女
悲&欢浪女 2021-01-16 13:43

I want to create procedurally generated landscape meshes with a flat shaded look in Unity3D.

I thought it would be the best to create three unique vertices

2条回答
  •  粉色の甜心
    2021-01-16 14:23

    There might be 2 considerations for using shared vertices:

    • To reduce memory usage. (Only slightly, but if you need less UV1's, UV2's, normals, vertices it can add up)
    • to make it more convenient to share normals. (You only have to alter one normal of a vertex if you want to keep the surface smooth. )

    These are no big reasons, but as most of the meshes from other 3D programs that you encounter, it's probably best to get used to shared vertices.

提交回复
热议问题