hey ,
i want to have simple trees in my app…
2 quads in an angle of 90 degrees
picture of a tree with transparent background…
i use this material:
tree = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
tree.setTexture("ColorMap", assetManager.loadTexture("Scenes/AndroRoom1/Tree3.png"));
tree.getAdditionalRenderState().setBlendMode(BlendMode.Alpha);
tree.getAdditionalRenderState().setFaceCullMode(RenderState.FaceCullMode.Off);
the quads are in the tranparent bucket!
in one hand it works, but in the other it has a strange behavior:
sometimes some parts of the tree get invisible for some seconds
most times if one quad is partly behind the other one…