Shader: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
{{stub}}
{{stub}}
[[category:Programming]] [[catogory:Glossary]]
[[category:Programming]] [[category:Glossary]]


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

Revision as of 22:59, 11 August 2005

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