This is still a work in progress. I may put the shader source code on-line later.
I made this shader for the leaves of my tree models. It can use different textures for front and back sides of the model. The deep shadow map function is already in this shader, and it also has translucent ability.
Reference: