Game development

What is a shader?

A shader is a small program that runs on the graphics processor (GPU) to calculate how each vertex and pixel should look, controlling lighting, colour, textures, transparency and visual effects.

What shaders create

Water, glowing outlines, dissolves, toon shading, fog, heat haze, screen effects and stylised looks. Engines include node-based editors (Shader Graph in Unity, visual shaders in Godot, materials in Unreal) so artists can build them visually.

Performance

Complex shaders on many pixels can slow phones and older devices. Testing on target hardware and offering quality settings keep games smooth.

Questions, answered

Yes, for lighting, outlines, distortion and colour effects.

A shader plus its settings and textures applied to an object.

By the Stegnor team · Updated