Can someone explain me why DepthMask doesn't work in the Game view of unity 5 ?

Hi,
It works in the Scene view only, someone knows why and how to fix it ?
Thanks in advance ^^

DepthMask shader : http://wiki.unity3d.com/index.php?title=DepthMask&_ga=1.195444261.82988751.1467096276

Please someone help me it’s really important for my game to have this shader work :frowning:
I can pay for help by paypal if necessary.
( sorry if I made spelling mistake I’m french )

here the code I use with shadow added it only works in the scene view with unity 5.4 :

Shader "FX/Matte Shadow Mask" {

 Properties {
  _Color ("Main Color", Color) = (1,1,1,1)
  _MainTex ("Base (RGB) Trans (A)", 2D) = "white" {}
  _Cutoff ("Alpha cutoff", Range(0,1)) = 0.5

 }


 SubShader {

  Tags {"Queue" = "Geometry-10" "IgnoreProjector"="True" "RenderType"="TransparentCutout"}
  LOD 200
  Blend Zero SrcColor
  Lighting Off
  ZTest LEqual
  ZWrite On
  ColorMask 0
  Pass {}

 CGPROGRAM
 #pragma surface surf ShadowOnly alphatest:_Cutoff


 fixed4 _Color;

 struct Input {

  float2 uv_MainTex;

 };

 inline fixed4 LightingShadowOnly (SurfaceOutput s, fixed3 lightDir, fixed atten)

 {
  fixed4 c;
  c.rgb = s.Albedo*atten;
  c.a = s.Alpha;
  return c;
 }

 void surf (Input IN, inout SurfaceOutput o) {
  fixed4 c = _Color;
  o.Albedo = c.rgb;
  o.Alpha = 1;
 }
 ENDCG
 }
 Fallback "Transparent/Cutout/VertexLit"
 }
}