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/ToonShadingCollection/Details/11_Modeling_Pipeline.md

View on GitHub
# Modeling & Pipeline (建模与管线)

## 1. Character Modeling (建模要点)

### A. 设计语言与简化
*   **信息量控制**: 游戏模型不同于插画,缩小后过多的细节会糊成一团。赛璐璐风格要求模型结构清晰、设计概括。
*   **LOD 策略**: 为了保证远景的表现力,可以为远景专门制作一套夸张了五官和轮廓的模型(如《罪恶装备》战斗远景用模型)。

### B. 头部建模
*   **斜脸成立**: 动漫脸在三维上是不成立的。建模重点在于**斜侧面(半侧面)**的观感,这是展示频率最高的角度。如果斜侧面成立,正面和侧面通常也能接受。
*   **头型**: 二次元头顶普遍偏“鸡蛋型”或头顶略尖,避免做成写实的“灯泡型”或头顶过于蓬松。
*   **头发处理**:
    *   **球形法线**: 头发整体法线应趋向于球形(可使用 Normal Transfer 工具),以获得整洁的高光带。
    *   **发梢切角**: 头发末端不要做成纸片,最好有一个小的切角或厚度,这样在正面光照下能自然产生底部暗部,增加体积感。

### C. 风格还原
*   **警示**: 不要为了所谓的“3D化”或“写实化”而牺牲原画的萌点(如《新樱花大战》的建模争议)。3D 应当服务于原画的美感。

## 2. Pipeline Optimization (管线优化)

### A. Unity HDRP (米哈游方案)
*   **为什么选 HDRP?**: 默认管线(Built-in)对屏幕空间纹理(Depth, Normal, Motion Vectors)的控制是黑盒的,难以定制。HDRP 允许高度定制 Lighting 和 Shader。
*   **Custom Pass**: 角色渲染常需额外 Pass(如描边),HDRP 的 Custom Pass 框架方便实现这些,且解决了描边区域 TAA 错误的问题(需提供正确的 Motion Vector)。
*   **优势**: 支持 Forward 和 Deferred 混合渲染,方便处理大量光源(Tile/Cluster Lighting)的同时保留自定义材质特性。

### B. Unreal Engine & Ray Tracing
*   **光追尝试**: UE 的光追(GI, Reflection, Shadow)可以极大地加速场景制作(免烘焙),但需要深度定制以适应卡通风格(防止画面过于写实)。
*   **应用**: 适合高精度的实时 CG 或过场动画(如《鹿鸣》)。需重写光追 Shader 以支持卡通的色阶和材质。

### C. Forward vs. Deferred
*   **Forward**: 传统卡通渲染首选(如《罪恶装备》),因为不需要处理大量点光源,且对半透明和描边支持更好。
*   **Deferred**: 适合需要大量光源或 PBR 混合的项目(如《噬血代码》),利用 G-Buffer 存储 PBR Mask 等信息。

### D. 技术取舍
*   **核心原则**: 技术必须服务于美术风格。不要为了炫技(如强行上光追)而破坏画面风格或牺牲性能。
*   **性能优先**: 在资源有限时,优先优化加载速度(SSD 优化)和帧率,比增加一个不明显的光影特效更重要。
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