Shadows use the z-buffer. Your transparent textures don’t look transparent to the z-buffer if you haven’t set alpha discard.