What are shaders in OpenGL and what do we need them for? [closed]
The OpenGL wiki gives a good definition: A Shader is a user-defined program designed to run on some stage of a graphics processor. History lesson In the past, graphics cards were non-programmable pieces of silicon which performed a set of fixed algorithms: inputs: 3D coordinates of triangles, their colors, light sources output: a 2D image … Read more