Pixel shader: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Merge suggestion)
Line 1: Line 1:
{{stub}}
{{stub}}
{{merge|Shader}}


A pixel shader is a piece of software which performs operations on each pixel before it is rendered, giving the programmer control of how it is rendered.
A pixel shader is a piece of software which performs operations on each pixel before it is rendered, giving the programmer control of how it is rendered.

Revision as of 02:28, 26 July 2006

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 pixel shader is a piece of software which performs operations on each pixel before it is rendered, giving the programmer control of how it is rendered.


After geometry has been transformed into screenspace using a Vertex shader pixel shaders are used to rasterize the image. The source engine uses a per-material model where each material in the scene can have it's own pixel shader.

See Also

Shader