Vertex shader

From Wikipedia, the free encyclopedia

Vertex shader (abbreviation VS) is a shader program, normally executed on the Graphics processing unit.

Contents

[edit] Function

A vertex shader serves to manipulate the geometry of an object of a scene. Therefore the form of the object changes and this changes the appearance of the object.

With the help of vertex shader effects as vertex lighting, terrain-/object-deformation, waves or frog eye perspective are possible.

[edit] Programming

Vertex shaders are programmed in the following languages: Assembler, Cg, GLSL, HLSL.

[edit] See also

[edit] References