Types of shaders.
A fragment shader, which runs once for each fragment and computes the color of the fragment.
A vertex shader, which runs once for each vertex and computes the position of the vertex.
Types of shaders.