From OpenGL Wiki
Revision as of 11:27, 3 August 2012 by Ldo (talk | contribs) (link to separate article)
Jump to: navigation, search

A Shader is a program designed to run on some stage of a graphics processor. Its purpose is to execute one of the programmable stages of the rendering pipeline.

In OpenGL, shaders are written in GLSL, and are of the following types:

Information is passed between the different shader stages via shader variables.