Microsoft DirectX 8.1 (C++)

Pixel Shader Examples

The topic Create a Pixel Shader provides an example of how to use a pixel shader to apply a single diffuse color. The following are examples of other pixel shader functions. Each example builds on the previous example by adding a piece of additional pixel shader functionality.