Image Processing with 1.4 Pixel Shaders in Direct3D
Jason L. Mitchell · 2004
With the ability to perform up to 16 ALU operations and 12 texture accesses in a single pass, Direct3D’s pixel pipeline has begun to look like a powerful programmable 2D image processing machine. In this chapter, we will outline several techniques which utilize DirectX 8.1’s 1.4 pixel shaders to perform 2D image processing effects such as blurs, edge detection, transfer functions and morphology. Along the way, we will point out applications of these 2D image operations to 3D game graphics.