PNG Alpha Problem

Hello guys.
Sorry for my english :frowning:
I’m returning to study JMONKEY.
I already tried using setQueueBucket(RenderQueue.Bucket.Translucent) but not work.

viewPort.setBackgroundColor(ColorRGBA.DarkGray);
        flyCam.setMoveSpeed(20);
        Box b = new Box(1, 1, 1);
        Geometry geom = new Geometry("Box", b);

        Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
        mat.setColor("Color", ColorRGBA.Blue);
        geom.setMaterial(mat);

        rootNode.attachChild(geom);
        
        
        /** Load a model. Uses model and texture from jme3-test-data library! */ 
        Spatial tree = assetManager.loadModel("Models/arvvv.obj");
        Material defaultMat = new Material( assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
        defaultMat.setTexture("ColorMap", assetManager.loadTexture("Models/texturaaaaaaaaaaaaaaaa.png"));
        defaultMat.getAdditionalRenderState().setBlendMode(BlendMode.Alpha);
        defaultMat.getAdditionalRenderState().setFaceCullMode(RenderState.FaceCullMode.Off);
        //teapot.setQueueBucket(RenderQueue.Bucket.Translucent);
        
        tree.setMaterial(defaultMat);
        rootNode.attachChild(tree);
        
        tree.scale(0.03f);
        tree.setLocalTranslation(0, 0, 5);

Can you help me ?

Thank you

Use Transparent queue bucket.

Hi… Thank you for your reply.
I already tried using setQueueBucket(RenderQueue.Bucket.Transparent) too :frowning:
Not work

blah blah… alpha discard threshold… blah blah.

Search the forum for transparency problems and you will probably find 1.24 million posts or so. :wink:

Issue related to: