Skip to content

coolgong2002/UnityGenshinToonShader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnityGenshinToonShader

A custom genshin-like toon shader, based on URP

基于 URP 的仿原神风格化渲染着色器

Supported Features

  • Light Map (R / B for specular, G for AO, A for material type)
  • Shadow Ramp
  • Emission
  • Normal Map
  • Face Shadow, based on SDF Light Map
  • Face Blush
  • Nonmetallic and Metallic Specular, based on Blinn-Phong Model
  • Rim Light, based on Depth Texture and Fresnel
  • Outline, based on Back Facing
  • Double-Sided Rendering

Scripts

  • MaterialUpdater : pass face direction to material

Render Example

without post-processing: image_0

with post-processing: image_1

About

A custom genshin-like toon shader, based on URP.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HLSL 59.3%
  • ShaderLab 35.7%
  • C# 5.0%