【Material】
Materials are used in conjunction with Mesh or Particle Systems attached to the GameObject. They play an essential part in defining how your object is displayed. Materials include a reference to the Shader used to render the Mesh or Particles, so these Components can not be displayed without some kind of Material.
There is a close relationship between Materials and Shaders in Unity. Shaders contain code that defines what kind of properties and assets to use. Materials allow you to adjust properties and assign assets.
Material用于引用一个Shader,Shader内会定义引用的Texture和各种属性,而Meterial提供设置这些属性的渠道。
Properties
The properties of any Material will change depending on the selected Shader. These are the most often used properties:
Shader | The Shader that will be used by the Material. For more information, read the Built-in Shader Guide. |
Main Color | Any kind of color tint can be applied. Use white for no tint. |
Base | The Texture that will be displayed. |