diff options
Diffstat (limited to 'Assets/Art/Shaders/UnityChan/Unitychan_chara_eye_blend.shader')
-rw-r--r-- | Assets/Art/Shaders/UnityChan/Unitychan_chara_eye_blend.shader | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/Assets/Art/Shaders/UnityChan/Unitychan_chara_eye_blend.shader b/Assets/Art/Shaders/UnityChan/Unitychan_chara_eye_blend.shader new file mode 100644 index 00000000..c71d0e2e --- /dev/null +++ b/Assets/Art/Shaders/UnityChan/Unitychan_chara_eye_blend.shader @@ -0,0 +1,41 @@ +Shader "UnityChan/Eye - Transparent" +{ + Properties + { + _Color ("Main Color", Color) = (1, 1, 1, 1) + _ShadowColor ("Shadow Color", Color) = (0.8, 0.8, 1, 1) + + _MainTex ("Diffuse", 2D) = "white" {} + _FalloffSampler ("Falloff Control", 2D) = "white" {} + _RimLightSampler ("RimLight Control", 2D) = "white" {} + } + + SubShader + { + Blend SrcAlpha OneMinusSrcAlpha, One One + Tags + { + "Queue"="Geometry+1" // Transparent+1" + "IgnoreProjector"="True" + "RenderType"="Overlay" + "LightMode"="ForwardBase" + } + + Pass + { + Cull Back + ZTest LEqual +CGPROGRAM +#pragma multi_compile_fwdbase +#pragma target 3.0 +#pragma vertex vert +#pragma fragment frag +#include "UnityCG.cginc" +#include "AutoLight.cginc" +#include "CharaSkin.cginc" +ENDCG + } + } + + FallBack "Transparent/Cutout/Diffuse" +} |