1. What is shader
All rendering on Unity is do with Shaders-small scripts, configure the How the graphics hardware is SE T up for rendering.
Shader (shader) means the ability to use graphics hardware (GPU) to perform rendering work.
1.1 Surface Shader
Surface Shaders is your best option if your shader need to being affected by lights and shadows.
Note:do not use Surface shaders if your shader are not doing anything with lights.
1.2 Vertex and Fragment Shaders
When shader doesn ' t nedd-interact with lighting or you need some very exotic effects that the surface shaders can ' t Han Dle, and it comes with a price:you has to write more code and it's harder to make it interact with lighting.
1.3 Fixed Function Shaders
This type is shaders need to being written for old hardware, that doesn ' t support programmable shaders.
2. Materials and Shaders
Shaders contain code that define what kind of the properties and assets to use. Materials allow you to adjust properties and assign assets.
Follow-up supplement
Unity Shader 1.