Skip to content

Keep updating unity shader effects.

Notifications You must be signed in to change notification settings

TragedyStar/UnityShader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learn Unity Shader

记录学习Kerry Unity Shader课程和《Unity Shader入门精要》

unity版本:2020.3.19

注:

· 实现的效果 demo 都放在 Effects 文件夹,欢迎各位大佬交流指正,在之后的学习过程中会持续更新 ~ ~ ~

· 暂时还不会做模型和贴图,示例中的模型来自别的课程和工程中= =


边缘光、流光

技术文档:边缘光、流光 img

Stencil Test

技术文档:Stencil Test

深度测试示例: img

原神里有一个场景是人物穿过一面纸窗户,能够看到人的影子,这里实现方式用一个球代替人物模型,球正常渲染,球的子物体设置一个跟球大小一样的物体,shader设置为模板测试代码,效果如下: img

IBL SH

技术文档:IBL、SH image

About

Keep updating unity shader effects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 86.8%
  • ShaderLab 7.8%
  • HLSL 5.1%
  • GLSL 0.3%