A shader is a program to perform calculations on geometry or pixel data in computer graphics.
A shader is a program to perform calculations on geometry or pixel data in computer graphics. With the rapid progress and availability of consumer GPUs during the last decade, an initially software-only solution for high-end RenderMan workstations became widely available. Today, the term is mostly associated with glsl, hlsl, metal, cg or spir-v, which allow convenient, hardware agnostic high-level programmability on consumer GPUs.