Skip to content

LeoYeAI/agent-master-skills / skills/animation-shader

animation-shader

Verified

READ this skill when implementing or configuring animation-style shaders (Toon/Cel Shaders) — including outlines, rim lighting, toon shading, MatCap, emission, dissolve, hatching, or any stylized rendering effect. Contains preset styles and feature-to-reference mappings for lilToon, Poiyomi, UTS2, RToon, SToon, and ToonShadingCollection. Works as a domain knowledge plugin alongside workflow skills (OpenSpec, SpecKit) or plan mode of an agent.

FileKindSize
SKILL.mdskill md17.0 KB
_meta.jsonconfig285 B
references/PoiyomiShaders/Details/01_Base_Main.mdmarkdown4.8 KB
references/PoiyomiShaders/Details/02_Lighting_Shadows.mdmarkdown4.9 KB
references/PoiyomiShaders/Details/03_Surface_Reflections.mdmarkdown3.9 KB
references/PoiyomiShaders/Details/04_Special_Effects.mdmarkdown3.4 KB
references/PoiyomiShaders/Details/05_Outline.mdmarkdown2.6 KB
references/PoiyomiShaders/Features.mdmarkdown2.1 KB
references/RToon/Details/01_Core_Shading.mdmarkdown5.3 KB
references/RToon/Details/02_ShadowT.mdmarkdown3.1 KB
references/RToon/Details/03_Outline.mdmarkdown4.6 KB
references/RToon/Details/04_MatCap_Reflection.mdmarkdown3.6 KB
references/RToon/Details/05_Gloss_Rim.mdmarkdown3.2 KB
references/RToon/Details/06_Advanced_Features.mdmarkdown3.3 KB
references/RToon/Features.mdmarkdown4.2 KB
references/SToon/Details/01_Core_Shading.mdmarkdown3.4 KB
references/SToon/Details/02_Outline.mdmarkdown2.9 KB
references/SToon/Details/03_Overlays.mdmarkdown3.1 KB
references/SToon/Details/04_Specular_Rim.mdmarkdown2.7 KB
references/SToon/Details/05_Artistic_Controls.mdmarkdown3.2 KB
references/SToon/Features.mdmarkdown2.6 KB
references/ToonShadingCollection/Details/01_ArtStyles.mdmarkdown2.5 KB
references/ToonShadingCollection/Details/02_Outline.mdmarkdown4.4 KB
references/ToonShadingCollection/Details/03_Diffuse.mdmarkdown4.5 KB
references/ToonShadingCollection/Details/04_Specular.mdmarkdown3.2 KB
references/ToonShadingCollection/Details/05_Environment.mdmarkdown3.1 KB
references/ToonShadingCollection/Details/06_PBR_Stylization.mdmarkdown4.6 KB
references/ToonShadingCollection/Details/07_Stylized_Features.mdmarkdown4.0 KB
references/ToonShadingCollection/Details/08_PostProcessing.mdmarkdown3.5 KB
references/ToonShadingCollection/Details/09_Lighting_Shadows.mdmarkdown3.1 KB
references/ToonShadingCollection/Details/10_Animation_VFX.mdmarkdown3.7 KB
references/ToonShadingCollection/Details/11_Modeling_Pipeline.mdmarkdown2.9 KB
references/ToonShadingCollection/Features.mdmarkdown2.1 KB
references/UnityChanToonShaderVer2/Details/01_DoubleShade.mdmarkdown3.6 KB
references/UnityChanToonShaderVer2/Details/02_ShadingGradeMap.mdmarkdown3.1 KB
references/UnityChanToonShaderVer2/Details/03_Outline.mdmarkdown2.7 KB
references/UnityChanToonShaderVer2/Details/04_SpecialFeatures.mdmarkdown3.6 KB
references/UnityChanToonShaderVer2/Features.mdmarkdown5.6 KB
references/lilToon/Details/01_Base_Main.mdmarkdown4.8 KB
references/lilToon/Details/02_Lighting_Shadows.mdmarkdown3.9 KB
references/lilToon/Details/03_Surface_Reflections.mdmarkdown4.2 KB
references/lilToon/Details/04_Special_Effects.mdmarkdown4.7 KB
references/lilToon/Details/05_Advanced.mdmarkdown3.9 KB
references/lilToon/Details/06_Variants.mdmarkdown3.4 KB
references/lilToon/Details/07_Variant_Features.mdmarkdown4.8 KB
references/lilToon/Details/08_Outline.mdmarkdown3.3 KB
references/lilToon/Features.mdmarkdown3.3 KB
workflow-standalone.mdmarkdown6.4 KB

references/lilToon/Details/06_Variants.md

View on GitHub
# Shader Variants

lilToon includes many shader files to cover different rendering needs and optimization levels. This document explains the naming conventions and the purpose of specific variants found in the `Assets/lilToon/Shader` directory.

## Naming Convention

The shader filenames generally follow this pattern:
`[Prefix]_[Feature]_[RenderingMode]_[OutlineMode].shader`

### 1. Prefixes (Editions)
*   **`lts`**: **Standard**. The full-featured lilToon shader. Use this for most characters and objects.
*   **`ltsl`**: **Lite**. A lightweight version with reduced features for better performance. Useful for background objects or crowds.
*   **`ltsmulti`**: **Multi**. Optimized for multi-material setups or specific specialized rendering.

### 2. Rendering Modes
*   **(None)**: **Opaque**. Solid objects with no transparency.
*   **`cutout`**: **Cutout**. Alpha testing (hard edges). Pixels are either fully visible or discarded. Good for fences, grates, or hair.
*   **`trans` / `transparent`**: **Transparent**. Alpha blending. For glass, semi-transparent fabrics, etc.
*   **`onetrans`**: **One-Pass Transparent**. Standard transparency.
*   **`twotrans`**: **Two-Pass Transparent**. Renders backfaces first, then frontfaces. Improves sorting for double-sided transparent objects (like hollow glass spheres).

### 3. Features
*   **`tess`**: **Tessellation**. Uses DX11 Tessellation to subdivide geometry for smoother curves and displacement. Expensive but high quality.
*   **`fur`**: **Fur**. Uses multi-pass rendering (shells) to simulate volumetric fur or grass.
*   **`gem`**: **Gem**. Specialized for gemstones, featuring internal reflection and refraction approximations.
*   **`ref`**: **Refraction**. Fetches the screen buffer to simulate distortion (glass/water).
*   **`fakeshadow`**: **Fake Shadow**. Likely a projector or specialized shadow receiver/caster variant.

### 4. Outline Modes
*   **`o`**: **Outline**. The shader includes an outline pass (Inverted Hull method).
*   **`oo`**: **Outline Only**. Renders *only* the outline. Useful for multi-pass setups where the main mesh is rendered by a different shader.

## Detailed Variant Explanations

### Fur Shaders (`lts_fur*`)
These shaders render the mesh multiple times (shells) to create the illusion of volume.
*   **`lts_fur`**: Standard opaque fur.
*   **`lts_fur_cutout`**: Fur with cutout transparency for strands.
*   **`lts_fur_two`**: Likely two-pass fur or specialized layering.
*   **`lts_furonly`**: Renders only the fur fins/shells, not the base surface.

### Tessellation Shaders (`lts_tess*`)
Includes the `Tessellation` hull and domain shaders to smooth geometry.
*   **`lts_tess`**: Standard opaque tessellation.
*   **`lts_tess_cutout`**: Tessellated cutout.
*   **`lts_tess_trans`**: Tessellated transparent.

### Helper & Hidden Shaders
*   **`ltspass_*`**: Internal pass definitions included by other shaders via `UsePass`. not meant to be selected directly.
*   **`ltspass_baker`**: Used for texture baking tools included with lilToon.

## Choosing the Right Variant

| Goal | Recommended Variant |
| :--- | :--- |
| **Character Body/Clothes** | `lts` (Standard) or `lts_cutout` |
| **Glass / Ice** | `lts_trans` or `lts_ref` (if distortion needed) |
| **Double-sided Glass** | `lts_twotrans` |
| **Furry Ears/Tail** | `lts_fur` or `lts_fur_cutout` |
| **Jewelry** | `lts_gem` |
| **Performance** | `ltsl` (Lite versions) |
| **High Quality Closeups** | `lts_tess` (Tessellation) |
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall