Difference between revisions of "Shader"

From OpenGL.org
Jump to: navigation, search
(Re-linking.)
m (Combined.)
Line 4: Line 4:
  
 
* [[Vertex Shader]]s (GL ≥ 2.0)
 
* [[Vertex Shader]]s (GL ≥ 2.0)
* [[Tessellation Shader|Tessellation Control Shader]]s (GL ≥ 4.0)
+
* [[Tessellation Shader|Tessellation Control and Evaluation Shader]]s (GL ≥ 4.0)
* [[Tessellation Shader|Tessellation Evaluation Shader]]s (GL ≥ 4.0)
+
 
* [[Geometry Shader]]s (GL ≥ 3.2)
 
* [[Geometry Shader]]s (GL ≥ 3.2)
 
* [[Fragment Shader]]s (GL ≥ 2.0)
 
* [[Fragment Shader]]s (GL ≥ 2.0)

Revision as of 18:14, 23 September 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: