As u can see from the picture, I have a quite annoying problem with the clip function. I am using my shader in which I write to o.Alpha the depth value, then I use the clip function, but it seems that it does not work properly : It correctly discards the pixel below the 0 value, but it doesn't render the appropriate shadow as in the built-in Cutout shader Please help me