Difference between revisions of "Shader"

From OpenGL.org
Jump to: navigation, search
(list types)
(link to separate article)
Line 8: Line 8:
 
* [[Geometry Shader]]s (GL ≥ 3.2)
 
* [[Geometry Shader]]s (GL ≥ 3.2)
 
* [[Fragment Shader]]s (GL ≥ 2.0)
 
* [[Fragment Shader]]s (GL ≥ 2.0)
 +
 +
Information is passed between the different shader stages via [[Shader Variable|shader variables]].
  
 
{{stub}}
 
{{stub}}
  
 
[[Category:Shaders]]
 
[[Category:Shaders]]

Revision as of 07:27, 3 August 2012

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.