As you can see, the specularity is visible even the transparency is on. Do you have a solution in this case?
My second question is :
With your shader, is it possible to modify the Ambient, diffuse ans specular during the game? My idea is to load an image in memory witch represent shadows and lighting level of the ground, and use this image to change the levels of spec,amb,diff of object positioned for example in the shadow of a mountain or under trees.