About

Definition

In the field of computer graphics, a shader is a computer program that is used primarily to calculate rendering effects on graphics hardware with a high degree of flexibility. Shaders are used to program the graphics processing unit (GPU) programmable rendering pipeline, which has mostly superseded the fixed-function pipeline that allowed only common geometry transformation and pixel-shading functions; with shaders, customized effects can be used.

Types of Shaders

  • Vertex Shaders - Manipulates vertex data.
  • Pixel Shaders - Determines the color that each pixel should have.
  • Geometry Shaders - Generate new graphical primitives based on the ones it recieves.

Popular Languages

  • HLSL
  • GLSL
  • Cg

Getting Started

history | show excerpt | excerpt history