shade
/shade
Add light and shadow with proper hue shifting, one step at a time, so the sprite gains form without gaining the flat-luminance look that marks generated pixel art. Use when flat art needs volume.
- Author
- with-pebbly ↗
- Repository
- aseprite-ai-artist ↗
- Licence
- MIT
- Last repository change
- 22.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 22.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Add light and shadow with proper hue shifting, one step at a time, so the sprite gains form without gaining the flat-luminance look that marks generated pixel art. Use when flat art needs volume.
Original author description
Add light and shadow with proper hue shifting, one step at a time, so the sprite gains form without gaining the flat-luminance look that marks generated pixel art. Use when flat art needs volume.
How it works
- The rule
- Procedure
- Ramps
- Dithering
- Checks
- Related
SKILL.md preview
---
name: shade
title: Shade a sprite
description: Add light and shadow with proper hue shifting, one step at a time, so the sprite gains form without gaining the flat-luminance look that marks generated pixel art. Use when flat art needs volume.
---
# Shade a sprite
Flat shading — the same hue, darker — is the clearest signal that a sprite was
made by moving a brightness slider. Real shading shifts hue.
## The rule
- **Shadows** rotate toward blue/purple and desaturate slightly.
- **Highlights** rotate toward yellow/orange and saturate slightly.
`recolor` op `shade` implements this. Use it instead of choosing darker hex
values yourself.
## Procedure
1. **Fix the light direction** and state it. Upper-left is the safe default. It
does not move again — not across the sprite, not across animation frames.
2. **Confirm the flat art is right first.** `look` op `preview`. Shading a bad
silhouette wastes the effort.
3. **One shadow step.** Select the region away from the light, then:
```
select op="rect" rect={…}
recolor op="shade" amount=-0.2 selectionOnly=true
```
Or draw the shadow shape directly with `draw` if it needs to follow a form
the selection tools cannot describe.
4. **Look.** `look op="preview"`. Does it read as volume, or as a stain? A
shadow that follows the form's cross-section reads; one that follows the
outline does not.
5. **One light step**, on the side facing the light: `amount=0.2`.
6. **Look again.** Most sprites are finished here.
7. **Only if it needs it**: a deep shadow (`amount=-0.4`) in occluded crevices,
a specular highlight of one or two pixels on the hardest material, or
reflected light — a faint cool step on the shadow side's outer edge, which
makes metal read as metal.
## Ramps
If you will shade a material more than once, put its ramp in the palette:
```
palette op="ramp" base="#c04030" steps=5
```
Then draw with ramp entries directly. Reuse the darkest step across materials —
it ties a sprite together and costs no palette slots.
## Dithering
Only on 32px+ and only in large flat areas. Use `bayer4`, keep the two colours
adjacent in a ramp, and stop if it reads as noise. See
`rules://02-shading-and-light`.
## Checks
- Is the light in exactly one place?
- Do the shadows hue-shift, or are they the same hue darker?
- Any banding — long parallel stripes of adjacent steps?
- Any semi-transparent pixels? (`validate` will tell you.)
## Related
`rules://02-shading-and-light`, `rules://01-palette-and-color`,
`rules://22-materials-hard`, `rules://23-materials-soft`,
`rules://24-lighting-scenarios`, `rules://72-3d-forms`.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · with-pebbly/aseprite-ai-artist | 100 | MIT |
| d3uceY/SpriteWare | 100 | MIT |
Database snapshot: 13.11.2026 · package version 66ad606f078e (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100pixel-art-generation
Use when generating pixel art sprites, animations, backgrounds, thumbnails, or processing sprite sheets for games. Triggers on requests like "create a sprite", "generate pixel art", "make game assets", "split sprite sheet", "remove background from sprite". - 85klad-pixel
The craft of pixel art, for an agent that draws sprites, tiles and small animations. How to choose a size and a palette, how to build a sprite from its silhouette, how to keep lines clean, when to outline, how to make ramps with hue shift, how to shade without pillow shading or… - 90pixel-art
Turns a reference image into 64x64 pixel art with approval gates (description -> generated image -> export) and saves HTML/PNG/SVG, with and without background, under output/. Use when the user sends a reference image and asks for pixel art ("transforma em pixel art", "pixel art… - 95openpixel-pixel-art
Create, refine, and animate readable pixel art in OpenPixel. Use for image and animation work that starts with decision questions and an SVG concept draft for user approval before pixel-art implementation. - 100pixel-art
Generate pixel art SVG illustrations for READMEs, docs, or slides. Use when user says "画像素图", "pixel art", "make an SVG illustration", "README hero image", or wants a cute visual. - 84scene
Pixel-art scenes as one self-contained HTML file (cutscenes, title screens, dialogue, ambient loops), with optional audio. Use when asked for a 'pixel-art scene', 'cutscene', 'title screen', 'animated pixel background', 'pixel-art short', 'make it a little pixel-art movie',…