SkillsReviewed · EL4CTEO

blender-stylized-npr

blender-stylized-npr is an AI assistant skill for Blender artists and developers creating cartoon-style scenes, but its toon shading must be rebuilt for game-engine export. It combines guidance with Python automation for banded shading, outlines and optional Grease Pencil Line Art.

Researched 16 Nov 2026

In short.

blender-stylized-npr is a Blender assistant skill for artists and developers making anime or cartoon looks, but its automation changes shared materials and scene-wide settings. Its Python script configures two- or three-band shading, rim lighting, hard highlights and several outline options. The guide targets Blender 5.3 and explains game-engine reconstruction, while the code reveals limits to its advertised restoration behavior. No code was executed; rendering quality, compatibility, performance and restoration outcomes remain unverified.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage comprises SKILL.md, scripts/toon_setup.py and scripts/_bpyx.py in skills/blender-stylized-npr at revision b1b21dfb73bc40b874ebf2aa12645931bfed3523, plus the repository LICENSE above that folder. Other repository skills, blender-core, assistant-host integration, engine shaders and user assets are outside this scope. All supplied files were read as source evidence. Nothing was executed, and rendering, cross-version compatibility, performance, repeated application, restoration and export outcomes remain unverified.

The overview

Identity

blender-stylized-npr is the Stylized / NPR skill in EL4CTEO/blender-skills. NPR means non-photorealistic rendering: deliberately simplified lighting and lines for styles such as anime, cartoons and comics. Its metadata identifies version 1.2.0 and author blender-agent-skills.

The supplied skill folder contains SKILL.md, scripts/toon_setup.py and scripts/_bpyx.py. The original folder at the supplied revision is available at [https://github.com/EL4CTEO/blender-skills/tree/b1b21dfb73bc40b874ebf2aa12645931bfed3523/skills/blender-stylized-npr].

Assessment

The resource offers a concrete starting point for converting existing Blender materials into a controlled cel-shaded look. It exposes useful artistic controls and supports both command-line invocation and an importable run function for an assistant integration.

Its strongest fit is a scene with understood materials and an artist who can inspect the result. Conversion takes the Principled shader's base color and replaces the material's surface output with an emission-based toon shader. Preserving the full appearance of an arbitrary material graph is therefore outside what this conversion implements.

Users

Blender artists can use the documented controls to explore flat shading, colored shadows, hair highlights and character outlines. Beginners will need familiarity with object names, materials, render engines and running Blender scripts; a complete beginner onboarding sequence is not supplied.

Technical artists and game developers get more detailed guidance on custom face normals, tangent-space outline data and reconstructing toon lighting in an engine. The engine workflow requires additional shader work beyond this script.

Capabilities

toon_setup.py provides two or three shading bands, a shadow threshold, softened band edges, shadow tint, a lit-side rim and a hard specular highlight. Key lighting follows a sun object's rotation; scene lighting uses Shader to RGB for an EEVEE-specific response to scene illumination.

Outline options include a Solidify-based inverted hull, optional vertex-group width control, a packed NPR_OutlineNormal color attribute for engine shaders and scene-wide Grease Pencil Line Art. Line Art requests contours, creases and intersections.

The guide also covers Freestyle, transferring custom normals for anime faces, painted hair highlights and unlit glTF export. These are instructions and examples; toon_setup.py does not automate every technique described.

Using it

Requirements

The guide targets Blender 5.3. The helper's docstring states Blender 5.2 LTS+ and claims verification on 5.3, but compatibility was not assessed through execution. The script imports Blender's bpy module and NumPy, and needs _bpyx.py beside toon_setup.py.

Toon conversion uses existing mesh materials with node trees and active material outputs. Principled materials supply the base color; without a Principled node, the toon group's default color remains. Smoothed outline normals require a UV map, and Line Art needs a scene camera. The guide advises applying object scale before adding hull outlines.

The instructions refer to blender-core for assistant execution and blender-pbr-materials or blender-texturing for base colors. Those resources are outside the supplied evidence, so their installation and integration requirements are unknown.

Mechanism

The script builds an NPR_Toon shader group, records the original material surface connection and connects the new emission shader to the output. Default key lighting compares the surface normal with a sun direction, then turns that value into bands. Scene mode instead converts diffuse lighting to color. The script also stores the previous scene view transform and selects Standard.

For engine outlines, NumPy averages normals at matching rounded vertex positions, converts them into each mesh corner's tangent space and packs them into the NPR_OutlineNormal color attribute. The documented engine-side decoding is n = TBN × (c × 2 − 1), where TBN is the tangent, bitangent and normal basis.

Materials are edited directly, so unselected objects sharing them can also change. Each application rebuilds one shared NPR_Toon group and reconnects only the materials being processed. This creates a risk of disrupting earlier setups when subsequent calls target different materials.

Setup

Acquire the full skill folder from the pinned source and retain the repository MIT notice. Keep toon_setup.py and _bpyx.py together; SKILL.md alone does not provide the executable functionality. The supplied instructions do not establish a complete installation procedure for a particular assistant host.

Start with a separate copy of a Blender scene and identify the target mesh objects explicitly. Without object names, the helper uses selected meshes, or visible meshes when none are selected. Check shared material users, UV maps for smoothed normals and the camera for Line Art. Choose EEVEE when requesting scene lighting.

The CLI accepts --save to write the resulting scene to a specified path. Direct Python integrations call run with keyword arguments and receive a dictionary; the CLI prints a compact result prefixed with @@JSON@@.

Example

For an illustrative scene.blend containing mesh objects named Hero and Sword, the documented interface supports this command: blender -b scene.blend -P skills/blender-stylized-npr/scripts/toon_setup.py -- --objects Hero Sword --bands 2 --rim 0.4 --outline 0.004 --save stylized.blend

This requests two shading bands, a rim value of 0.4, a hull thickness parameter of 0.004 and saving to stylized.blend. The guide describes that thickness as four millimeters when object scale and scene dimensions are appropriate. This example was not executed; successful conversion, saving and the resulting appearance are not established.

Assessment & evidence

Limitations

Default key mode calculates bands from surface orientation and sun direction; it does not calculate cast-shadow visibility for those bands. Scene lighting is documented as EEVEE-only, and the script warns rather than blocks when another engine is selected. Hull outlines miss intersections and inner creases, and hard-edged meshes can produce gaps.

The guide describes removal as an exact restore, but the code leaves a newly created NPR_Key light and generated material and node-group datablocks. Removing Line Art requires --line-art together with --remove. Removing one subset also restores the scene-wide view transform even if other toon objects remain.

The code has no transactional rollback. For example, requesting smoothed normals on a mesh without UVs can raise an exception after earlier scene edits. A returned ok value also does not establish that every material was converted: warnings and skipped materials are possible.

The Blender toon node graph does not export as an equivalent game-engine shader. The guide requires reconstructing the bands in the destination engine and separately handling hull geometry or outline-normal attributes.

Reasoning

The implementation favors direct artistic control: a simple light-direction calculation and emission output make the band structure explicit. That design also explains why the converted material does not retain the original Principled shader's full lighting, roughness, metallic and transparency behavior.

The lighting and outline options address different needs. Key mode provides a direction-based formula to reconstruct in an engine; EEVEE scene mode incorporates scene illumination. Hull outlines can travel with geometry, while camera-based Line Art supplies additional render lines. Matching the technique to the intended output is essential.

Alternatives

Within Blender, the guide describes Freestyle as another render-line technique alongside inverted hulls and Grease Pencil Line Art. Building a toon node graph manually would provide direct control over how an existing material is adapted, although the supplied evidence contains no measured comparison of effort or quality.

For engine delivery, the named routes are an Unreal Engine material or post-process, a Unity URP toon shader and a Godot ShaderMaterial. These are implementation approaches requiring separate work; no particular third-party shader package, price or comparative benchmark is established.

Evidence

The supplied source includes the complete three-file skill folder and the repository-level MIT notice at commit b1b21dfb73bc40b874ebf2aa12645931bfed3523. The implementation is available at [https://raw.githubusercontent.com/EL4CTEO/blender-skills/b1b21dfb73bc40b874ebf2aa12645931bfed3523/skills/blender-stylized-npr/scripts/toon_setup.py], with its helper at [https://raw.githubusercontent.com/EL4CTEO/blender-skills/b1b21dfb73bc40b874ebf2aa12645931bfed3523/skills/blender-stylized-npr/scripts/_bpyx.py].

These files establish documented intentions and visible code paths. No code was executed. The supplied evidence contains no rendered examples, Blender scene fixtures, raw execution logs or engine exports demonstrating outcomes.

The guide reports measurements concerning Shader to RGB in Cycles and glTF unlit export. Those are author-reported findings without accompanying measurement artifacts here; they were not independently verified.

Access & freshness

Costs

The MIT notice grants permission to use and redistribute the software free of charge. The supplied files do not establish total operating cost, hardware requirements, render times or charges from any surrounding AI assistant or provider.

No paid service connection is implemented in the supplied scripts. Time spent preparing materials, correcting outlines and rebuilding engine shaders remains an unquantified cost.

Rights

SKILL.md declares MIT, and the repository notice names Copyright (c) 2026 EL4CTEO. The license permits use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notice accompany copies or substantial portions. It supplies the software without warranty.

The original notice is available at [https://raw.githubusercontent.com/EL4CTEO/blender-skills/b1b21dfb73bc40b874ebf2aa12645931bfed3523/LICENSE]. Rights to models, textures or other assets introduced by a user are not established by these files.

Freshness

The source snapshot was captured on 2026-11-16T14:30:58.979Z at commit b1b21dfb73bc40b874ebf2aa12645931bfed3523. SKILL.md labels the skill version 1.2.0.

The documentation contains version-sensitive Blender guidance, including Grease Pencil API names and Line Art features. Its stated Blender targets do not establish compatibility with every installation. A release date, later source changes and behavior across Blender versions are unknown from the supplied evidence.

Actions

Begin with the pinned folder and a separate scene copy. Use explicit object names and inspect shared material users before conversion. Start with key mode for direction-controlled shading, or select EEVEE deliberately when scene lights and cast shadows need to shape the bands.

Compare material links, view transform, lights, modifiers and Line Art before and after removal. Also check an already converted object when applying the script to a different subset, because the toon node group is shared.

For game-engine delivery, plan the destination toon shader and outline implementation before committing to the look. Verify exported base colors, custom normals and NPR_OutlineNormal decoding in the target engine. Successful rendering, export fidelity and complete restoration remain unverified.

Evidence for this report

LICENSEnotice · checked 2026-11-16
skills/blender-stylized-npr/SKILL.mdselected · checked 2026-11-16
skills/blender-stylized-npr/scripts/_bpyx.pyselected · checked 2026-11-16