Shader
A small program run on the graphics processor for every vertex or every pixel.
A shader is a program executed on the graphics processor as part of the rendering pipeline. A vertex shader runs once per vertex and computes positions; a fragment (or pixel) shader runs once per covered pixel and computes color. Compute shaders run general-purpose work outside the rendering pipeline entirely.
The mental model is massive data parallelism: the same tiny program runs for millions of elements simultaneously, with no communication between them. That constraint is what makes them fast and what makes branching expensive — divergent paths within a group of parallel invocations are executed serially.
Shaders are where nearly all visual character lives: lighting, shadowing, atmosphere, post-processing, color grading and Tone Mapping, and the whole family of generative and glitch aesthetics. A fragment shader given only screen coordinates and time can produce complete animated imagery with no geometry at all, which is the basis of the demoscene and of shader-art communities.
Two practical notes. Precision and compiler optimization settings change results — strict math is slower and reproducible, fast math is neither. And color space handling is a persistent source of quiet error: an image tagged with the wrong profile lets display adjustments leak into exported output.
See also13
Rasterization
Converting geometry into pixels — the dominant real-time rendering approach.
Graphics & Rendering18 connections
Voxel
A volumetric pixel — a value on a regular three-dimensional grid.
Graphics & Rendering14 connections
Determinism
The property that identical inputs produce identical outputs, and the foundation of caching and verification.
Systems & Tooling61 connections
OKLCH
A perceptually uniform color space that makes lightness and chroma behave predictably.
Design & Interface15 connections
Cellular Automaton
A grid of cells whose states evolve by a local rule applied simultaneously everywhere.
Graphics & Rendering14 connections
Procedural Generation
Creating content algorithmically rather than authoring it by hand.
Graphics & Rendering32 connections
Seeded Randomness
Pseudorandom generation from an explicit seed, so any output is reproducible.
Graphics & Rendering25 connections
Roguelike
A genre defined by procedurally generated runs and permanent death, and the design pressures those create.
Play & Games28 connections
L-System
A rewriting grammar that generates branching structures by repeated substitution.
Graphics & Rendering11 connections
Reproducible Case
The smallest set of steps that reliably produces a fault, and the unit of real debugging.
Method27 connections
Graphics API
The programming interfaces through which software drives the GPU, from the driver-heavy OpenGL era to explicit modern APIs like Vulkan, Direct3D 12, and Metal.
Graphics & Rendering7 connections
Shader Compilation Stutter
Frame hitches caused by compiling GPU programs the first time they are needed, and the caching schemes that try to move that work elsewhere.
Graphics & Rendering11 connections
HSL and HSV
Two rearrangements of the RGB color cube into hue, saturation, and lightness or value, made in the 1970s so people could pick colors intuitively, which are convenient for color pickers but don't match how bright colors actually look.
Graphics & Rendering6 connections
Linked from19
- API Translation LayerGraphics & Rendering
Software that implements one platform's API on top of another's, so unmodified programs run somewhere they were never built for.
- Bézier CurveGraphics & Rendering
The smooth curve defined by a handful of control points that underlies fonts, vector drawings, animation easing, and the pen tool in every design app.
- Cellular AutomatonGraphics & Rendering
A grid of cells whose states evolve by a local rule applied simultaneously everywhere.
- Constraint PropagationGraphics & Rendering
Repeatedly narrowing the possible values of each variable using the constraints, until nothing more can be deduced.
- Game AIPlay & Games
Computer opponents built to be interesting to play against rather than optimal.
- Graphics APIGraphics & Rendering
The programming interfaces through which software drives the GPU, from the driver-heavy OpenGL era to explicit modern APIs like Vulkan, Direct3D 12, and Metal.
- Graphics DriverSystems & Tooling
The software that translates a program's drawing commands into instructions a particular graphics card can execute, split between a kernel part that manages memory and displays and a large user-space part that compiles shaders and implements graphics interfaces.
- Graphics Processing UnitGraphics & Rendering
A processor built to run the same small program on thousands of data items at once, designed for pixels and now the engine of machine learning.
- HSL and HSVGraphics & Rendering
Two rearrangements of the RGB color cube into hue, saturation, and lightness or value, made in the 1970s so people could pick colors intuitively, which are convenient for color pickers but don't match how bright colors actually look.
- L-SystemGraphics & Rendering
A rewriting grammar that generates branching structures by repeated substitution.
- OKLCHDesign & Interface
A perceptually uniform color space that makes lightness and chroma behave predictably.
- Physically Based RenderingGraphics & Rendering
A shading approach that derives surface appearance from measured, energy-conserving material parameters instead of hand-tuned highlights.
- Procedural GenerationGraphics & Rendering
Creating content algorithmically rather than authoring it by hand.
- RasterizationGraphics & Rendering
Converting geometry into pixels — the dominant real-time rendering approach.
- RoguelikePlay & Games
A genre defined by procedurally generated runs and permanent death, and the design pressures those create.
- Shader Compilation StutterGraphics & Rendering
Frame hitches caused by compiling GPU programs the first time they are needed, and the caching schemes that try to move that work elsewhere.
- Signed Distance FieldGraphics & Rendering
A function giving the distance to the nearest surface, signed so inside and outside are distinguishable.
- Vector GraphicsGraphics & Rendering
Images described as shapes and curves rather than a grid of pixels, so they stay sharp at any size, the basis of fonts, icons, logos, and maps.
- VoxelGraphics & Rendering
A volumetric pixel — a value on a regular three-dimensional grid.