详细分析 ▾
运行时依赖
版本
动画着色器技能初始发布。 - 提供实现与配置动画风格着色器的全面参考,包括卡通/赛璐璐着色、描边、边缘光、MatCap、发光、溶解、素描、风格化效果。 - 包含即用预设风格与用例,适配不同视觉目标(如基础动漫、高级插画、赛博/VFX、油画)。 - 提供热门 Unity 着色器(lilToon、Poiyomi、UTS2、RToon、SToon、ToonShadingCollection)的详细功能列表及对应参考文件映射。 - 设计为领域知识插件,可与工作流技能或智能体配合完成结构化着色器设计。 - 若无工作流技能,也可独立提供着色器设计指导。
安装命令
点击复制技能文档
# Animation Shader Skill 动画风格着色器(Toon Shader)的领域知识参考。包含常用着色器库的预设风格、功能列表与参考映射。 > [!NOTE] > 此技能仅包含领域知识,不含工作流。请与工作流技能(如 OpenSpec、SpecKit)或代理的计划模式搭配使用。 ## 使用方式 ### 与工作流技能一起使用(推荐) 当与工作流技能(如 OpenSpec、SpecKit)或代理的计划模式一起使用时,本技能作为领域知识插件: - 需求/规格阶段:使用 Presents 部分识别目标风格,并将用户请求映射到具体功能集 - 设计/规划阶段:使用 Feature List 查找每个功能对应的所有 references/ 文档 - 关键规则:对于每个已识别功能,阅读列出的全部参考文件——不要只选一个 ### 独立使用 另提供轻量级 workflow-standalone.md,可作为自包含的设计管线。 ### 知识查询模式 当用户请求查询动画着色器知识时,本技能根据任务提供预设风格与功能-参考映射。 ## 预设风格 当用户不确定具体功能或想快速获得某种风格起点时,使用以下预设。 ### 1. Basic Anime 描述:标准、干净的日系动画外观。高效、易读、广泛使用。 功能:Base Color / Main Texture、3-Tone Shading(Double Shade)、Outline(Inverted Hull)。 用例:通用虚拟形象、NPC、标准日系角色、性能敏感场景。 ### 2. Advanced Illustration 描述:高品质、细节丰富,具备深度与材质定义。 功能:Base Color / Main Texture、Layered Textures、3-Tone Shading(Double Shade)、Alpha Mask、Outline(Inverted Hull)、Rim Light、MatCap(Material Capture)、Specular / HighColor、Shadow Ramp。 用例:主角、特写、高保真 VRChat 虚拟形象、过场动画。 ### 3. Stylized Sketch 描述:模拟手绘、漫画或铅笔素描,更具艺术感。 功能:Color Adjustments(Desaturated)、Sketchy Outline、Hatching、Halftone Overlay、Sketch / Paper Overlay。 用例:回忆片段、艺术化独立游戏、独特美学、漫画改编。 ### 4. Cyber / VFX 描述:高科技、发光、动态风格,具备反应性。 功能:Base Color / Main Texture(Dark)、Emission / Glow、AudioLink、Dissolve、Vertex Manipulation(Glitch)、Rim Light。 用例:科幻角色、能量爆发状态、音乐可视化、全息效果。 ### 5. Semi-Realistic Toon 描述:将日系美学与真实材质属性结合,现代高保真。 功能:PBR(Metallic/Smoothness)、Normal Map、Shadow Ramp、Subsurface Scattering(SSS)、Outline(Inverted Hull)。 用例:现代动作 RPG、高端电影级角色、“原神式”但更精细。 ### 6. Retro 90s Anime 描述:复刻 90 年代经典赛璐璐动画外观。 功能:Color Adjustments(High Saturation, Posterization)、3-Tone Shading(Double Shade)、Outline(Inverted Hull)、Film Grain。 用例:怀旧项目、复古风格游戏、Lo-fi 美学。 ### 7. Oil Painting / Artistic 描述:模拟油画或水彩等传统媒介。 功能:Brush Stroke Textures、Distorted UVs、Sketch / Paper Overlay、Smudged Shadows、Sketchy Outline。 用例:故事书视觉、艺术展示、梦境段落。 ### 8. Flat Pop Art 描述:大胆图形风格,阴影极简,色彩鲜艳。 功能:Base Color / Main Texture(Unlit)、Outline(Inverted Hull)、Halftone Overlay、Stencil Patterns。 用例:UI 角色、音乐视频、风格化独立游戏。 ## 功能列表 支持着色器中的所有功能,按类别整理。 ### 1. 核心着色与颜色 Base Color / Main Texture:模型主色与主贴图。(全部) references/lilToon/Details/01_Base_Main.md references/PoiyomiShaders/Details/01_Base_Main.md references/ToonShadingCollection/Details/03_Diffuse.md Color Adjustments:调整色相、饱和度、亮度或应用 Posterization。(Poiyomi、SToon、lilToon) references/lilToon/Details/01_Base_Main.md references/PoiyomiShaders/Details/01_Base_Main.md 3-Tone Shading (Double Shade):使用两级阴影色(1st、2nd)实现传统日系外观。(lilToon、Poiyomi、UTS2) references/lilToon/Details/02_Lighting_Shadows.md references/PoiyomiShaders/Details/02_Lighting_Shadows.md references/UnityChanToonShaderVer2/Details/01_DoubleShade.md references/ToonShadingCollection/Details/09_Lighting_Shadows.md Shadow Ramp:使用渐变贴图控制阴影过渡,可软可风格化。(SToon、Poiyomi、RToon) references/PoiyomiShaders/Details/02_Lighting_Shadows.md Shadow Texture (ShadowT):在阴影区应用图案(如素描线或网点)。(RToon、SToon) references/RToon/Details/02_ShadowT.md Shading Grade Map:使用灰度图逐像素控制阴影阈值,实现有机阴影形状。(UTS2) references/UnityChanToonShaderVer2/Details/02_ShadingGradeMap.md Position Maps:将阴影固定在特定区域(如下巴下方),不受光照方向影响。(UTS2) references/UnityChanToonShaderVer2/Details/01_DoubleShade.md Ambient Occlusion (AO):在缝隙与角落添加软阴影,增加深度。(Poiyomi、SToon、lilToon) references/lilToon/Details/02_Lighting_Shadows.md references/PoiyomiShaders/Details/02_Lighting_Shadows.md Cell Shading / Hard Shading:使用硬截止阴影实现赛璐璐外观。(RToon、SToon) references/RToon/Details/01_Core_Shading.md references/SToon/Details/01_Core_Shading.md Diffuse Warp:扭曲明暗交界线,实现不规则手绘阴影边缘。(SToon) references/SToon/Details/05_Artistic_Controls.md Normal Map:不增加几何体即可添加表面细节与深度。(全部) references/PoiyomiShaders/Details/01_Base_Main.md Detail Maps:使用次级贴图添加高频表面细节。(Poiyomi、lilToon) references/PoiyomiShaders/Details/02_Lighting_Shadows.md Layered Textures:允许多层纹理叠加并支持混合模式,实现复杂表面细节。(lilToon、Poiyomi) references/lilToon/Details/01_Base_Main.md Decals:在表面贴附贴纸式纹理,可独立变换。(Poiyomi、lilToon) references/lilToon/Details/01_Base_Main.md Alpha Mask:使用遮罩贴图控制透明度或限制功能区域。(lilToon、Poiyomi) references/lilToon/Details/01_Base_Main.md RGB Masking:使用 RGBA 遮罩对网格局部重新上色。(Poiyomi) references/PoiyomiShaders/Details/01_Base_Main.md Triplanar Mapping:基于世界空间应用纹理,适用于无 UV 模型。(RToon、SToon) references/RToon/Details/06_Advanced_Features.md ### 2. 表面与反射 Specular / HighColor:添加风格化高光,常带遮罩或卡通形状。(全部) references/lilToon/Details/03_Surface_Reflections.md references/PoiyomiShaders/Details/03_Surface_Reflections.md references/ToonShadingCollection/Details/04_Specular.md references/SToon/Details/04_Specular_Rim.md references/RToon/Details/05_Gloss_Rim.md MatCap (Material Capture):使用球面纹理模拟复杂光照与反射(如金属或头发高光)。(全部) references/RToon/Details/04_MatCap_Reflection.md references/lilToon/Details/03_Surface_Reflections.md references/PoiyomiShaders/Details/03_Surface_Reflections.md references/UnityChanToonShaderVer2/Details/04_SpecialFeatures.md Camera Rolling Stabilizer:即使相机倾斜也保持 MatCap 反射朝上。(UTS2) references/UnityChanToonShaderVer2/Details/04_SpecialFeatures.md Rim Light:基于视角(Fresnel)在模型边缘添加高光。(全部) references/RToon/Details/05_Gloss_Rim.md references/SToon/Details/04_Specular_Rim.md references/lilToon/Details/03_Surface_Reflections.md references/PoiyomiShaders/Details/03_Surface_Reflections.md Backlight:模拟背面光源,增强剪影或在阴影侧添加边缘光。(lilToon、SToon、UTS2) references/lilToon/Details/02_Lighting_Shadows.md references/SToon/Details/04_Specular_Rim.md Shadow Rim / Antipodean Rim:在阴影侧添加边缘光。(UTS2) references/UnityChanToonShaderVer2/Details/04_SpecialFeatures.md Side Shine:在物体侧面添加特定高光,增加体积感。(SToon) references/SToon/Details/04_Specular_Rim.md Anisotropy:用于头发或拉丝金属的各向异性高光。(lilToon、Poiyomi、SToon) references/lilToon/Details/03_Surface_Reflections.md references/PoiyomiShaders/Details/03_Surface_Reflections.md references/ToonShadingCollection/Details/04_Specular.md Clear Coat:在材质表面添加额外高光层,实现清漆效果。(Poiyomi) references/PoiyomiShaders/Details/03_Surface_Reflections.md Faked Reflection:使用静态纹理而非反射探针,实现风格化反射。(RToon) references/RToon/Details/04_MatCap_Reflection.md Environment / Reflections:使用 Cubemap 或 Reflection Probe 配置环境反射。(全部) references/ToonShadingCollection/Details/05_Environment.md Iridescence / Color Shift:基于视角或时间改变颜色。(UTS2、Poiyomi) references/UnityChanToonShaderVer2/Details/04_SpecialFeatures.md Subsurface Scattering (SSS):模拟光线穿透半透明表面如皮肤。(Poiyomi) references/PoiyomiShaders/Details/02_Lighting_Shadows.md ### 3. 描边与边缘检测 Outline (Inverted Hull):通过挤出背面顶点创建描边,广泛用于角色轮廓。(全部) references/lilToon/Details/08_Outline.md references/PoiyomiShaders/Details/05_Outline.md references/RToon/Details/03_Outline.md references/UnityChanToonShaderVer2/Details/03_Outline.md references/ToonShadingCollection/Details/02_Outline.md Stylized Outline:噪点、素描、手绘外观。 references/SToon/Details/02_Outline.md references/RToon/Details/03_Outline.md Baked Normal Outline:使用平滑法线贴图绘制描边,防止硬边缘断裂。(UTS2) references/UnityChanToonShaderVer2/Details/03_Outline.md ### 4. 特效与 VFX Emission / Glow:让模型局部发光,常带动画支持。(lilToon、Poiyomi、UTS2) references/lilToon/Details/04_Special_Effects.md references/PoiyomiShaders/Details/04_Special_Effects.md references/UnityChanToonShaderVer2/Details/04_SpecialFeatures.md Dissolve:使用噪点图案逐渐让模型透明,常带发光边缘。(lilToon、Poiyomi) references/PoiyomiShaders/Details/04_Special_Effects.md references/lilToon/Details/04_Special_Effects.md Halftone Overlay:在模型上覆盖漫画网点图案。(SToon) references/SToon/Details/03_Overlays.md references/ToonShadingCollection/Details/08_PostProcessing.md Hatching:使用线稿图案代替纯色阴影,常多层叠加。(SToon、RToon) references/SToon/Details/03_Overlays.md Sketch / Paper Overlay:应用纸张纹理或素描线条,实现手绘外观。(SToon) references/SToon/Details/03_Overlays.md Glitter:在表面添加程序化闪光效果。(lilToon) references/lilToon/Details/04_Special_Effects.md AudioLink:随音乐/音频动态反应,如脉冲自发光、颜色变化、顶点抖动。(lilToon、Poiyomi) references/lilToon/Details/05_Advanced.md references/PoiyomiShaders/Details/04_Special_Effects.md Parallax Occlusion:基于视角偏移 UV 模拟纹理深度。(lilToon) references/lilToon/Details/04_Special_Effects.md Vertex Manipulation:变形网格几何(如抖动、圆角、缩放)。(Poiyomi、SToon) references/PoiyomiShaders/Details/01_Base_Main.md Animation & Motion:UV 动画、顶点动画、拖影帧等技术。(ToonShadingCollection) references/ToonShadingCollection/Details/10_Animation_VFX.md Refraction / Gem:模拟光线穿过宝石或眼睛等透明材质的折射。(lilToon) references/lilToon/Details/07_Variant_Features.md UV Animation:滚动或旋转纹理,实现流水或科技界面等效果。(SToon、lilToon、UTS2) references/lilToon/Details/01_Base_Main.md references/SToon/Details/05_Artistic_Controls.md ### 5. 高级与管线 Culling / Stencil / Clipping:控制面剔除与模板缓冲,实现高级渲染效果。(lilToon、UTS2) references/lilToon/Details/05_Advanced.md references/UnityChanToonShaderVer2/Details/04_SpecialFeatures.md Stencil Masking:使用模板缓冲实现“眉毛穿透头发”等效果。(lilToon、UTS2) references/UnityChanToonShaderVer2/Details/04_SpecialFeatures.md Back Face Rendering:多边形背面渲染的独立设置。(Poiyomi) references/lilToon/Details/01_Base_Main.md Distance Fade / Near Fade:基于相机距离淡出物体或描边,防止遮挡视线。(lilToon、RToon、UTS2) references/RToon/Details/06_Advanced_Features.md Tessellation:动态细分几何,获得更平滑曲线。(lilToon) references/lilToon/Details/07_Variant_Features.md Variants & Optimization:使用着色器变体(Lite、Multi)与模型优化指南。(lilToon、ToonShadingCollection) references/lilToon/Details/06_Variants.md references/ToonShadingCollection/Details/11_Modeling_Pipeline.md Art Styles & Theory:不同艺术风格分析与 PBR 风格化技术。(ToonShadingCollection) references/ToonShadingCollection/Details/01_ArtStyles.md references/ToonShadingCollection/Details/06_PBR_Stylization.md ### 6. 特殊对象(材质专用) Hair (Angel Ring):在头发上创建固定高光光环。(UTS2) references/UnityChanToonShaderVer2/Details/04_SpecialFeatures.md references/ToonShadingCollection/Details/04_Specular.md Eyes:眼睛专用渲染,包括视差、折射、模板遮罩。(lilToon、UTS2) references/lilToon/Details/07_Variant_Features.md references/ToonShadingCollection/Details/07_Stylized_Features.md Skin:模拟皮肤次表面散射与柔和阴影。(Poiyomi、UTS2) references/PoiyomiShaders/Details/02_Lighting_Shadows.md references/ToonShadingCollection/Details/07_Stylized_Features.md Fur:使用多层渲染模拟毛发。(lilToon) references/lilToon/Details/07_Variant_Features.md ## 功能详情文档 references/lilToon/Features.md references/PoiyomiShaders/Features.md references/SToon/Features.md references/RToon/Features.md references/UnityChanToonShaderVer2/Features.md references/ToonShadingCollection/Features.md