Unity Shader - Materias Shaders & Textures material, and texture shaders

Contents: Unity Shader - knowledge catalog (first placeholder, follow continuously updated)
text: Materials, Shaders & Textures
version: 2019.1

Materials, Shaders & Textures

Materials (material) used in Unity rendering, Shaders (shaders) and Textures (texture) of three intimate relationships.

  • Materials given how to render a surface, may contain references to the use of textures, texture tiling (tile) information, Color more information (color) and so on. Material parameter options is dependent on the material selected for use Shader.
  • Shaders are a piece of basic: configuration of a given lighting configuration or material rendering logic scripts color for pixel by pixel, comprising calculating or mathematical algorithms.
  • Textures bitmap image. A material comprising a texture reference in order for the color of the surface at Shader sore feet to use a GameObject object. There Albedo Color of surface texture information may also be expressed as a reflective material or a surface roughness.

Specify a Material Shader to use, and a Shader parameters which determine a material options are available. A Shader specifies one or more texture variables to use, then the Material Inspector view will allow you to set the texture resource owners as Shader texture variable.

Most rendering (eg: if in a scene, opaque or transparent, seems hard or soft surface of the object), Standard Shader is usually the best choice. This highly configurable Shader degree compatible with high fidelity rendering of the surface more.

Of course, there are many other built Shader, or write the user's own request Shader (eg: a fluid, a plant, a reflective glass material, particle effects, cartoons, illustrations or other artistic effect or night vision, thermal imaging, X light imaging).

For more information, refer to the following page

Guess you like

Origin blog.csdn.net/linjf520/article/details/91039591