blender-stylized-npr
Agent skill fromEL4CTEO/blender-skills
Stylized / NPR looks in Blender 5.2 - toon and cel shading (bands, shadow tint, rim, hard specular), anime faces with custom normals, inverted-hull outlines with smoothed outline normals for game engines, Line Art and Freestyle lines, Grease Pencil drawing, unlit export. Use for anime, cartoon, comic, cel-shaded or outlined styles.
How to install blender-stylized-npr
install blender-stylized-npr
# install the blender-skills pack with the skills CLI
npx skills add EL4CTEO/blender-skills# or add only this skill to Claude Code: copy the folder
skills/blender-stylized-npr/
# into
~/.claude/skills/blender-stylized-npr/ (all projects)
.claude/skills/blender-stylized-npr/ (one project)
1# Stylized / NPR23The execution model is in `blender-core`. Base colors still come from `blender-pbr-materials`/`blender-texturing`. This skill replaces how they're lit.45## One call each6```7scripts/toon_setup.py -- --objects Hero Sword --bands 2 --rim 0.4 --outline 0.0048scripts/toon_setup.py -- --objects Hero --bands 3 --spec 0.3 --smooth-normals # + engine outline data9scripts/toon_setup.py -- --objects Hero --lighting scene # EEVEE: all lights + cast shadows10scripts/toon_setup.py -- --line-art --outline 0 # scene-wide Line Art11scripts/toon_setup.py -- --objects Hero Sword --remove --line-art # exact restore12```1314## toon_setup.py15- Inserts an `NPR_Toon` emission group between each material's Principled base color and the output, and records the original surface link for `--remove`. Re-running updates values in place.16- **`--lighting key`** (default, Cycles + EEVEE): shading = N·L against one sun (`--light`; `NPR_Key` is created if there's none). Drivers follow the sun's rotation, so rotate the sun to art-direct the shadow shape. This is how engine toon shaders work, and the look matches after export.17- **`--lighting scene`**: Shader to RGB on a white diffuse, so every light and cast shadow shapes the bands. **EEVEE only.** Measured: in Cycles, Shader to RGB returns a constant regardless of light (identical render at 0, 3 and 10 W/m² sun).18…
Excerpt shown under the repository's MIT license.
