Shader

What is it?

A shader is a program that runs on the GPU and determines how pixels or vertices are computed and displayed. Shaders control effects like lighting, shadows, reflections, and materials. There are different types: vertex shaders (move points), fragment/pixel shaders (determine colors), and compute shaders.

Practical example

A water shader combines reflection, refraction, waves, and foam to simulate realistic water. It is computed every frame for dynamic, interactive water.

Test your knowledge

Where does a shader run?

Ask Lex
Lex knows the context of this term and can give targeted explanations, examples, and extra context.
Tip: Lex replies briefly in the widget. For more detail, go to full screen mode.

Learn our language

Learn these terms from real professionals and take your skills further at KdG MCT.

Study at KdG

Related terms