How to set transparency level

Hi all, I want to make a blue box with 50% transparency level…how can I do it in JME?



thanks in advance…:slight_smile:

https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:beginner:hello_material

You should find everything in there

Ok, thanks…



now I want to make a HUD with a picture that have a transparent background. but when I use it in JME, the background isn’t transparent. So, can I make it transparent? thanks in advance

You will have to show us the code that you are using. Otherwise, we can only guess from one of 100 things that might be wrong.

ok, solved…I just forgot to set the useAlpha value to true in the setImage function…

http://www.mikeash.com/getting_answers.html