Shader "VrchatHoldem/Standard Transparent Depth"
{
    Properties
    {
        _Color ("Color", Color) = (1,1,1,1)
        _MainTex ("Albedo", 2D) = "white" {}
        _Glossiness ("Smoothness", Range(0,1)) = 0.5
        _Metallic ("Metallic", Range(0,1)) = 0.0
    }

    SubShader
    {
        Tags
        {
            "Queue" = "AlphaTest"
            "RenderType" = "Fade"
            "IgnoreProjector" = "True"
        }
        LOD 200

        ZWrite Off
        AlphaToMask On
        Blend SrcAlpha OneMinusSrcAlpha


        CGPROGRAM
        #pragma surface surf Standard fullforwardshadows keepalpha addshadow
        #pragma target 3.0

        sampler2D _MainTex;

        struct Input
        {
            float2 uv_MainTex;
        };

        half _Glossiness;
        half _Metallic;
        fixed4 _Color;

        void surf(Input IN, inout SurfaceOutputStandard o)
        {
            fixed4 textureColor = tex2D(_MainTex, IN.uv_MainTex);

            o.Albedo = textureColor.rgb * _Color.rgb;
            o.Metallic = _Metallic;
            o.Smoothness = _Glossiness;
            o.Alpha = textureColor.a * _Color.a;
        }
        ENDCG
    }

    FallBack "Standard"
}
