Appearance texturedAppearance = new Appearance();
TextureLoader textureLoader = new TextureLoader();
Texture2D texture = (Texture2D)textureLoader.getMinMapTexture(“Data\Star.PNG”);
/*TextureAttributes textureAttributes = new TextureAttributes();
textureAttributes.setPerspectiveCorrectionMode(textureAttributes.NICEST);
textureAttributes.setTextureMode(textureAttributes.MODULATE);*/
TransparencyAttributes transparencyAttributes = new TransparencyAttributes();
transparencyAttributes.setTransparencyMode(transparencyAttributes.BLENDED);
transparencyAttributes.setDstBlendFunction(transparencyAttributes.BLEND_ONE);
transparencyAttributes.setSrcBlendFunction(transparencyAttributes.BLEND_SRC_ALPHA);
texturedAppearance.setTexture(texture);
// texturedAppearance.setTextureAttributes(textureAttributes);
texturedAppearance.setTransparencyAttributes(transparencyAttributes);