Shaders are programs uploaded to your graphics card to process vertices into pixels.
There are two main types of shaders.
-
Vertex Shader
This shader is called for each (input) vertex to transform them into screen (projection) space. -
Fragment Shader or Pixel Shader
This shader is called for all pixels of (triangle) surface in output buffer (screen) to determine result color.