Opacity texture


I got few trees models with leafs textures - with alpha, but in JME when I add it i got no alpha just black background. How can i fix that? Use opacity?

Serach for materials in the wiki and look at the tutorials, they explain this, also in the examples are a few transparent things.

Translucency is quite tricky. The texture needs to have an alpha channel, the blend mode needs to be set, and you need to get the geometries rendered in the right order using render queue buckets.

Read https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:intermediate:how_to_use_materials#optional_transparent

By the way, this is the sort of question where a screenshot would be appreciated.

I done it easily :). Just used alpha PNG leafs texture, set alpha and few options in blender and it now looks ok