[Unity Shader] From entry to emotion (1) Basic concepts: What is a grid? What are materials and Shaders?

1. What is Mesh?

insert image description here
As shown in the figure above, the triangular surface of the model is called a mesh (Mesh). Its essence is the regular ordering of a bunch of vertex data. It is represented by triangles in the game engine Unity and UE, and in DCC software (Digital Content Creation) such as Maya. quadrilateral representation.
insert image description here
In Unity, we create a new Cube, and the arrow in the figure above is the mesh body. The information required to form these triangles can be further divided into:

  • 1.Vertices vertex array:
    stored here

Guess you like

Origin blog.csdn.net/cxihu/article/details/131044075