I would like to add a quad to the guiNode. I found an old threads about it but it does not say how to actually resolve the issue. Here the code I use:
[java]Geometry quad = new Geometry(“Quad”, new Quad(5f, 5f));
Material mat1 = new Material(assetManager, “Common/MatDefs/Misc/Unshaded.j3md”);
quad.setLocalTranslation(10, 10, 0.5f);
With this code I can see nothing and I really don’t know where to bang my head.
Thanks in advance for any hints!
See the example TestOrtho
Remove this line:
…and it should work. In the guiNode switching buckets isn’t necessary to get transparency.
Thanks guys. pspeed solution works perfectly.