To shade pixel art, pick one light source, give each material a ramp of three to five colours, paint the shadow as a few clean shapes, then add small highlights last. This guide teaches each of those steps, the two classic mistakes to avoid, and how to do all of it in MakePixel.
You don’t need to know how to paint. Pixel art shading is a small set of decisions, and each one gets easier once you know what to look for.
⇧ is Shift, and on Windows and Linux use Ctrl wherever you see ⌘.
The process at a glance
- Start flat. Draw the shape and fill it with one colour per material.
- Choose a light source. Decide where the light comes from, and stick to it.
- Build a ramp for each material, from shadow to highlight.
- Block in the shadows as one or two simple shapes.
- Clean up your clusters so every group of pixels has a purpose.
- Add depth and highlights, then check the sprite at its real size.
Step 1: Start flat
Shading can’t rescue a weak shape, so get the silhouette right first. Fill it with flat colours, one for each material: skin, hair, cloth, metal. For each one, choose the colour you’d use if someone asked “what colour is it?” That’s your mid-tone, and your shadows and highlights will grow out of it.
In MakePixel, keep your line art on its own layer and your colours on a layer beneath it. Choose the Bucket (G) and set Sample to All, and each fill stops at your lines while landing on the colour layer.
Step 2: Choose a light source
Every shading decision comes from this one. Pick a single main light and use the same direction for every sprite in your game. A hero lit from the left next to a tree lit from the right looks wrong, even if nobody can say why.
If you don’t have a reason to choose otherwise, use top-left. It’s the long-standing convention in games, and it reads naturally.
Now imagine your sprite as simple 3D forms: a sphere for the head, cylinders for the arms, a box for the chest. Surfaces facing the light are bright, and they get darker as they turn away.
Here’s a ball lit from the top left. It uses four colours from one ramp, from darkest to lightest:
Those bands of colour have names, and they’re worth knowing:
| Part | What it is |
|---|---|
| Highlight | The small, brightest spot, facing the light directly |
| Light | The lit side, mostly your base colour |
| Core shadow | Where the form turns away from the light |
| Reflected light | A slightly lighter edge inside the shadow, from light bouncing back |
| Cast shadow | The shadow this object throws on something else |
If your engine flips sprites to face left, the light flips with them. On small sprites this rarely shows. If it bothers you, put the light closer to directly overhead, so both facings look right.
Step 3: Build a colour ramp
A ramp is a short run of colours from dark to light for one material. Most sprites need three to five colours per ramp. At 16×16, three is often plenty. More colours on a small sprite just blur into mush.
Two things make a ramp good.
Clear steps in value. Value means how light or dark a colour is. Neighbouring colours in a ramp should be different enough to tell apart at actual size. If two look the same when you zoom out, one of them is wasted.
Hue shifting. This is the single biggest upgrade to most beginners’ art. If you make shadows by only darkening a colour, the result looks muddy and dead. In real light, shadows pick up cool colour from the sky and highlights pick up warmth from the sun. So as you go darker, nudge the hue toward blue or purple. As you go lighter, nudge it toward yellow.
| Base colour | Shadows drift toward | Highlights drift toward |
|---|---|---|
| Skin | Red-brown, then purple | Pale peach |
| Red cloth | Crimson, then purple | Orange |
| Green leaves | Teal, then blue | Yellow-green |
| Blue armour | Indigo, then purple | Cyan |
| Gold | Orange, then brown | Pale yellow |
| Grey stone | Blue-grey | Warm grey |
Saturation matters too. Colours usually look best most saturated in the middle of the ramp, and a little less so at the very dark and very light ends.
Make a ramp in MakePixel
For a quick pick, use the Shading ramp under the colour picker. It shows seven steps around your current colour. Click one to paint with it, and the strip recentres on that colour so you can keep walking darker or lighter.
To keep a ramp in your palette, set your base colour as the Primary colour and choose ⋯ → Make ramp in the Palette section:
- Steps: 5 is a good start.
- Darker and Lighter: 40 each. Lower them for a subtler ramp.
- Hue shift: about 15 to 25 for reds, oranges, skin, yellows and purples, and about −15 to −25 for greens, teals and blues.
Why the sign changes: a positive shift turns the hue the same way round the colour wheel for every colour. On greens and blues, that direction gives warm shadows and cool highlights, the reverse of what you want, so a negative value corrects it. The Shading ramp strip always uses the positive direction, so use Make ramp for those colours.
Choose Insert and the ramp lands in your palette, darkest to lightest. While you paint, [ and ] step along it without touching the panel, and holding Alt picks a colour straight from the canvas.
Step 4: Block in the shadows
Now paint the shadow as one big shape, using the first colour darker than your base. Resist the urge to add detail. You’re describing the form: where does this surface turn away from the light?
A fast way to do it in MakePixel:
- Select your colour layer and press / to turn on Lock transparency. Nothing you paint can spill past the silhouette.
- Pick your first shadow colour.
- Choose Contour (D) and drag a loop around the shadow area, going past the edge of the sprite as much as you like. It fills when you let go, and only lands on existing pixels.
- Switch to the Pencil (B) at Size 1, with Pixel perfect on, and refine the edge.
Turn Mirror off before you shade. Light comes from one side, so shading should not be symmetrical even on a symmetrical character.
Look at the sprite now. With just two values, it should already feel solid. If it doesn’t, fix the shadow shape before adding more colours.
Step 5: Keep your clusters clean
A cluster is a connected group of pixels of one colour. At this resolution you aren’t painting smooth tones. You’re arranging clusters, and the eye reads their shapes. Clean clusters are what separate tidy pixel art from noisy pixel art.
- Avoid orphan pixels. A single stray pixel of a colour reads as dirt. Merge it into a neighbour, or make it a deliberate highlight.
- Keep edges smooth. A shadow’s edge should step evenly. Runs of 4, 3, 2, 1 pixels look like a curve, while 3, 1, 4, 1 looks jagged.
- Vary the sizes. A mix of large and small clusters looks natural. Lots of similar-sized blobs look like camouflage.
- Follow the form. Each cluster should describe a surface: the curve of a cheek, the fold of a sleeve.
If an area looks busy, you probably have too many small clusters. Merge them.
Step 6: Add depth and highlights
Add these last, and add less than you think you need.
Deep shadow. Use your darkest colour only where almost no light reaches: under the chin, under the arms, between the legs. These small dark accents do a lot to anchor a sprite.
Highlights. Put a few pixels of your lightest colour on the spots facing the light. Keep them small. If everything is highlighted, nothing is.
Reflected light. On round or shiny forms, a thin line one step lighter along the shadow’s far edge separates the object from a dark background. Keep it subtle, and leave it out on tiny sprites.
Different materials take light differently, and shading is how you show what something is made of:
| Material | Contrast | Highlights | Shadow edges |
|---|---|---|---|
| Metal | High, with dark next to bright | Small, sharp and bright | Hard |
| Skin | Low | Soft or none | Soft, with warm shadows |
| Cloth | Medium | Broad and gentle | Follow the folds |
| Hair | Medium | A band across each clump | Follow the strands |
| Wood and stone | Low to medium | Few | Broken and textured |
Mistake to avoid: pillow shading
Pillow shading means shading inward from the outline, dark at the edges and light in the middle, so the shape looks like a puffy cushion. It’s the most common beginner mistake, because following the outline feels natural.
Compare it with the ball in Step 2. This one has no light direction, so it looks flat and stuck to the screen, even though it uses the same four colours.
The fix: commit to your light source. Move the bright area toward the light and let the shadow pool on the far side. If the top-left edge of your sprite is as dark as the bottom-right, you’re pillow shading.
Mistake to avoid: banding
Banding is when neighbouring colours run side by side in even stripes. Instead of a smooth turn of form, the eye sees separate lines, and your pixel grid becomes obvious.
It often sneaks in when you add a new shade by tracing the edge of the last one.
The fix:
- Vary the width of each step, so bands aren’t all the same thickness.
- Stagger the edges so that colour boundaries don’t line up.
- Don’t trace. Give each shade its own shape, instead of an offset copy of the one before.
- Use fewer colours. Two clean steps beat four banded ones.
Dithering can also soften a transition between two colours. The dithering guide linked below covers when that helps and when it hurts.
Other common mistakes
- Pure black shadows. They flatten everything. Use a deep, hue-shifted dark instead.
- Too many colours. If you can’t say what a colour is for, remove it.
- Too little contrast. A muddy sprite usually needs a darker dark and a lighter light.
- The same detail everywhere. Save your sharpest contrast for the face or focal point.
- Shading before the shape works. If the silhouette is unclear, more shading won’t fix it.
Check your work
Three quick tests catch most problems:
- See it at real size. Press 1 for 100% zoom. It’s how players will see it, and a lot of fussy detail disappears.
- Check the values. Open Image → Adjustments → Desaturate… to preview your sprite in greys, then choose Cancel. If the form falls apart in grey, your ramps need more contrast.
- Put it in context. Paste it next to your other sprites or on your game’s background. The light direction and contrast should match.
Try it: shade a ball
Five minutes with this exercise teaches more than reading about it.
- On the canvas, press N, create a 16×16 image and open it in the editor.
- Pick a mid red. Choose Ellipse (⇧U), set it to Filled, and hold Shift while you drag a circle.
- Press / to lock transparency.
- Choose ⋯ → Make ramp in the Palette section, leave Steps at 5, set Hue shift to 20 and choose Insert.
- Pick the second swatch of the ramp. With Contour (D), drag a crescent across the bottom right of the ball.
- Pick the darkest swatch and add a thinner crescent inside it, right at the edge.
- Pick the lightest swatch. With the Pencil, place two or three pixels at the upper left.
- Press 1 to see it at real size. Round off any jagged steps along the shadow.
It should look like a ball rather than a circle. Now try the same thing on a cylinder, then on a character’s head.
Shade without committing
Painting shadows straight onto your colours is simple, but it makes changes expensive. Change a character’s shirt from red to blue and every shadow has to be redone.
A Shading layer (part of Pro) keeps light and shade apart from colour. It stores “this pixel is one step darker” rather than a colour, so a single stroke across a red cloak and blue trousers darkens each along its own shades.
- Open Add layer… (▾) in the Layers header and choose Shading layer.
- Choose Darken or Lighten in the options bar, with 1 to 3 Steps.
- Paint with any drawing tool. Right click paints the opposite way, and the Eraser removes shading.
Recolour or redraw the art beneath and your shading stays in place, on every frame of an animation. It steps through the colours already in your image, so a material only has somewhere to go if its darker and lighter shades are in the art. If one doesn’t respond, paint a darker version of it into the sprite.
An Outline layer set to Auto finishes the look. It gives each edge a darker shade of the colour it touches, which is the selective outlining that artists otherwise do by hand.
Common questions
How many colours do I need to shade a sprite? Three to five per material. A 16×16 character can look great with 8 to 12 colours in total.
Which direction should the light come from? Top-left is the convention. Any direction works as long as every sprite in your game agrees.
Should I shade before or after outlining? Usually you draw the outline, fill flat colours, shade, then revisit the outline, tinting parts of it to match the colours beside it.
Should shadows be black or just darker? Neither. Make them darker and shift the hue toward blue or purple.
What’s the difference between pillow shading and soft shading? Soft shading still follows a light direction. Pillow shading follows the outline and ignores light.
Do I need dithering to shade? No. Plenty of great pixel art uses clean clusters alone. Dithering is an optional texture.
Where to go next
Shading gets easier with a good palette, so spend time with the palettes feature and its presets. When your character is ready to move, the sprite maker shows the next steps.