# NPR-Cartoon-Shader-Library **Repository Path**: jaypro/NPR-Cartoon-Shader-Library ## Basic Information - **Project Name**: NPR-Cartoon-Shader-Library - **Description**: https://github.com/QianMo/NPR-Cartoon-Shader-Library - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-05-19 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # NPR-Cartoon-Shader-Library # 一、人物篇 ## 1.1 卡通人物的渲染几种常见思路 ### 1、使用卡通的MatCap控制色调 ![](media/649dda5f8e72d94da852844e6dd80c35.png) ### 2、使用单个卡通的Ramp控制颜色渐变 ![](media/20c308ed6f358406fcdcec2108a75e19.png) ### 3、使用多个ramp控制色调、边缘光等参数的渐变 ![](media/c9b74e69833cb3994cc8f80721e2f651.png) ### 4、使用多级shadeMap控制色调 ![](media/ed0b0f584a4fad5212d1720a064f1706.png) ### 5、使用阈值+卡通渲染公式进行计算 ![](media/7657e029f52a7e4e69cd0382c3ae4c08.png)