Texturing & materials · Intermediate
Shader
The small program that decides the final color of every point on a surface
What is a shader?
A shader is a small program that works out the color of each point on a 3D surface by combining its material inputs with the lights in the scene. Shaders decide whether something looks like metal, skin, glass or a cartoon. They run on the graphics card, many times per frame.
Think of it like this
A shader is like a rulebook handed to a painter: given the paint colors and where the lamp stands, it says exactly how to paint each spot.
Where it fits in a 3D project
- Create
- Surface
- Rig
- Animate
- Render
- Export
Surface: Giving the shape its color and material: UVs, textures and shaders.
How a shader works
- 01The renderer sends the shader each point’s position, direction and material inputs.
- 02The shader checks the lights and how the surface faces them.
- 03It combines color, roughness, reflections and other inputs using its rules.
- 04It outputs a final color for that pixel on screen.
Shader vs material
| Property | Shader | Material |
|---|---|---|
| What it is | A program with rules for light | Settings and textures fed into it |
| Made by | Programmers or node setups | Artists choosing values |
| How many | A few, shared widely | Many, one per surface look |
Pick a shader for the kind of surface, then make materials from it for each specific look.
Where a shader is used
- Realistic PBR surfaces in games and film
- Toon and cel-shaded looks for stylized art
- Effects like water ripples, holograms and dissolves
Beginner tip
You rarely need shader code to start. Node editors in Blender, Unity and Unreal Engine let you build shaders by wiring boxes together and see the result as you go.
Terms related to a shader
- Texturing & materialsMaterialThe settings that decide what a 3D surface is made of
- Texturing & materialsPBR (physically based rendering)Materials and light that follow real-world physics
- Software basicsNode editorA workspace where you wire boxes together to build materials and effects
- Lighting & renderingCel shadingA style that makes 3D look hand-drawn, with flat color bands and outlines
- Texturing & materialsMatcapA lit-sphere image that gives a model an instant look with no lights
- Texturing & materialsTextureAn image wrapped onto a 3D surface to give it color and detail
Shader FAQ
Updated October 29, 2026 · Browse all 3D terms