Vertex shader

From Valve Developer Community
Revision as of 02:31, 26 July 2006 by Wraiyth (talk | contribs) (Merge proposition)
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

Merge-arrows.png
It has been suggested that this article or section be merged with Shader. (Discuss)

A Vertex shader is a shader used for a variety of things, it's most basic goal is to transform geometry into screenspace coordinates so that the Pixel shader can rasterize an image. On a more complex scale vertex shaders are responsible for lighting, shadows, animation, along with any other tasks you might be able to come up with. Vertex shaders work with one vertex at a time and will run through a series of transforms based upon certain data.