Transparent Diffuse issues

Actually I’m rendering this chunk as a unic mesh and I have a material which uses a texture with alpha.

Here the model is rendering correctly:

The problem is this:

And here you see that it works if it isn’t rendering on itself.

Anyone knows a shader that can solve this problem?

I believe this can be resolved by enabling zTest in the shader. You can get the source for Unity’s builtin shaders here.