![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/bb1a0b018130f77d567d7d369c7cd595.png)
Shader代码
Properties
{
_MainTex("Texture", 2D) = "white" {
}
_FresnalColor("菲涅耳效应的颜色", color) = (1,1,1,0)
_FresnalScale("菲涅耳效应的强度", float) = 1
}
SubShader
{
Tags {
"RenderType"="Opaque" }
LOD 100
Pass
{
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#