Mouse Transparency

Hi,



i've set up my mouse similiar to the TestAbsoluteMouse example.



My mouse image is a png file with a transparent background.

Normally, only the surroundings of the Mouse should be transparent (the parts that are transparent in the png file too)

But somehow my whole mouse is transparent, which makes my mouse rather hard to see. Especially on light-colored background, i cant see the mouse at all.



What do i need to change to get this right?



Here's how i set up the mouse (blendstate, etc)


Texture texture = TextureManager.loadTexture(IngameState.class.getClassLoader().getResource(
            "data/images/cursor1.png"), Texture.MinificationFilter.Trilinear,
            Texture.MagnificationFilter.Bilinear);

      TextureState ts = display.getRenderer().createTextureState();
      ts.setEnabled(true);
      ts.setTexture(texture);

      BlendState alpha = display.getRenderer().createBlendState();
      alpha.setBlendEnabled(true);
      alpha.setSourceFunction(BlendState.SourceFunction.SourceAlpha);
      alpha.setDestinationFunction(BlendState.DestinationFunction.One);
      alpha.setTestEnabled(true);
      alpha.setTestFunction(BlendState.TestFunction.GreaterThan);
      alpha.setEnabled(true);

      mouse.setRenderState(ts);
      mouse.setRenderState(alpha);

      cursor = new Node("Cursor");
      cursor.attachChild(mouse);

      rootNode.attachChild(cursor);