- A shader is a set of graphics and image manipulation instructions run on the GPU
- A CPU runs serial operations while a GPU runs parallel operations (at the same time=faster)
- Vertex - Draws the vertices of the geometry
- Geometry - Use to manipulate the geometry
- Pixel (or fragment) - Fills the area in the geometry (fragment contributes to the final color of the pixel)
- Compute - General purpose (outside of the shader pipeline)
- Tesselation / Hull - Used to subdivide a mesh (fixed function shaders embedded in the hardware)
If you draw an object, say a triangle, on the screen...
- First you draw the vertices
- Mesh then primitives
Tutorial Series
Topics