Skip to content

wome1youka1gua/UnityGenshinToonShader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 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

References

Render Examples

image_0 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 57.4%
  • ShaderLab 38.7%
  • C# 3.9%