Start with one light source
Choose one light direction and keep it for the whole sprite. A light placed slightly above and to one side usually reads better than a light placed dead center. Many artists avoid dead-center light, because it can make shapes look flat.
Shade the form, not just the edges. Break the object into basic 3D shapes such as cubes, spheres, and cylinders. Surfaces that face the light get lighter, and surfaces that turn away get darker.
The main value zones
Most shaded forms use a few zones:
- Base: the mid-tone that represents the object’s main color.
- Core shadow: the darkest area on the side away from the light, where the form turns away.
- Highlight: the lightest area, where the light hits most directly.
- Reflected light: a faint bounce of light in the shadow, which keeps the shadow from going flat.
- Cast shadow: the shadow an object throws onto the ground or another surface.
For the same ideas in painting, see shading techniques for digital art. You do not need all five on every shape. Start with base, core shadow, and highlight, then add the others where they help.
Build color ramps
A ramp is a short run of colors for one material, from darkest to lightest. Each step should differ clearly in value. For small sprites, three to five steps per material is a common range.
Build ramps before you shade. Pick the base color first, then choose a darker step for the shadow and a lighter step for the highlight. Check that each step is distinct at actual size. Steps that look the same waste palette space.
Avoid pure black and pure white for shading. They flatten detail and leave little room to show form. Use dark, saturated colors for shadows and light, warm tints for highlights. If your style uses black outlines, keep black for the outline and out of the shading ramps.
Hue shifting
Hue shifting means changing the hue as well as the lightness when you move along a ramp. A common approach is to move shadows toward cooler colors such as blue or purple, and highlights toward warmer colors such as yellow. This makes shadows and highlights look more like real light. For warm and cool color more generally, see how to master color theory.
Compare two versions side by side: one where you only darken the base color, and one where you also shift the hue. The shifted version usually looks richer.
Avoid simply desaturating toward gray for shadows. Keep the shadow colors vibrant so they stay readable.
Common shading mistakes
- Pillow shading. Every edge gets a dark outline of shading, and the highlight sits in the middle. This makes flat shapes look puffy instead of solid. Let the light direction decide which edges are dark.
- Banding. Long, unbroken lines of one shade follow the contour of a shape. They flatten the form and can distort it. Break these bands with varied shapes and step changes.
- Noise. Scattered single pixels of shading make the image look busy. Group shading into clean clusters first.
Dithering
Dithering alternates two colors in a pattern to suggest a third color or a gradient. It creates the look of a blend without adding a new color to the palette. Common patterns include checkerboards and other ordered textures.
Use dithering for:
- Skies and large gradients
- Metal and textured surfaces
- Retro looks that call for visible texture
Avoid dithering for:
- Small objects, where the pattern overwhelms the shape
- Skin and faces, where smooth areas read better
- Areas that need to stay sharp and readable
In animation, dithering can shimmer or crawl from frame to frame, which looks noisy in motion. Use it more sparingly in animated sprites than in still images. Build clean clusters first, then add dithering only where the shape needs it.
Checking your shading
- Check the value steps in grayscale. If two forms merge into one tone, adjust the lightness before you change any hues.
- View the sprite at 1x and squint or view it blurred. The form should still read.
- Compare against the silhouette. Shading should support the shape, not compete with it.
A practice exercise
Shade a simple cube, sphere, and cylinder with the same palette and the same light direction. Use the same ramp on all three so you can see how light changes the form. Then shade a simple character. For the full process, see how to draw a pixel art character sprite.
For how to pick the colors that make up your ramps, see choosing a pixel art color palette. For the basic forms you will be shading, see the pixel art guide.