What are shaders?
Shaders are mini-programs that you send to your GPU to perform operations on your data. There are three main types of shaders: vertex, fragment, and compute. Vertex shaders transform your shapes to look the way you want. Fragment shaders convert the transformed vertices into fragments. Each pixel that gets drawn on your screen has at least one fragment. Usually the fragment has a color that gets copied to the pixel.