Modern
graphics programming is designed to take advantage of graphics hardware. Shaders are
a key component to this.
In OpenGL 4.0, there are five types
of shaders:
-
Vertex shader
- Fragment shader
- Geometry shader
- Tesselation shaders (two types)
OpenGL 4.3 introduces: