Shader

From Valve Developer Community
Revision as of 22:59, 11 August 2005 by Pon (talk | contribs)
Jump to navigation Jump to search

Stub

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

A shader is a piece of software that instead of executing on the CPU, it executes on the GPU.

Shaders provide great control over what is rendered, and can perform operations of vertices, pixels, and some others.

The Source engine uses HLSL for shaders. There is another language called Cg (Which stands for 'C for Graphics'), which was developed alongside HLSL by Nvidia.

Microsoft HLSL website