What Is a Pixel Shader?

TIME : 2016-01-07
What Is a Pixel Shader?

A pixel shader is a small program, usually built into a graphics chipset and driven by its drivers, that calculates the colour and lighting of every individual pixel. Its whole job is to make 3D scenes look more believable — and it's the backbone of modern game visuals.

Many recent titles require a particular shader level to run. Software emulation exists, but it's slow and unstable; a video card with the support built in is far smoother. Versions such as 1.1, 2.0 and 3.0 are backwards compatible, so a card with 3.0 handles anything asking for 1.1 or 2.0.

Microsoft's Direct3D and Silicon Graphics' OpenGL both support the feature, though OpenGL calls it a fragment shader rather than a pixel shader. Either way, it's what handles scene lighting, bump mapping and colour toning.