A shader is a server-side
is used primarily to produce rendering effects on graphics hardware. As the name implies, shaders can
implement lighting and shading effects.
But they are capable of doing much
A shader provides an alternative to, and
is more flexible than, the fixed function pipeline.
Through programming, it is possible to
create effects with shaders that
or impossible to produce with the fixed function
A few examples:
- Non-linear spatial
- Non-photorealistic rendering
- Per-fragment lighting