Transparency problems

I made a game where 2 square meshes are displayed with transparent textures on them. One is 2.0f in front of the other.

The problem is that on the left side of the screen the back texture isn’t displayed through the front texture.



http://i.imgur.com/9Yjpe.jpg

Have you set alpha discard?

How do I set alpha discard?

mat.getAdditionalRenderState().setBlendMode(BlendMode.Alpha);

mat.getAdditionalRenderState().setAlphaTest(true);

mat.getAdditionalRenderState().setAlphaFallOff(0.5f);