OK, so I have my HUD image all made up and ready, but when I call these lines:
pre type="java"
guiNode.detachAllChildren();
Picture HUD = new Picture(“HUD”);
HUD.setImage(assetManager, “Materials/HUDtestD.jpg”, true);
HUD.setWidth(settings.getWidth());
HUD.setHeight(settings.getHeight());
HUD.setPosition(0f,0f);
guiNode.attachChild(HUD);/pre
I still don’t have the alpha map. Is there a line I’m missing? Should I rename the alpha? (currently named “HUD_alpha.jpg”)pre type="java"
guiNode.detachAllChildren();
Picture HUD = new Picture(“HUD”);
HUD.setImage(assetManager, “Materials/HUDtestD.jpg”, true);
HUD.setWidth(settings.getWidth());
HUD.setHeight(settings.getHeight());
HUD.setPosition(0f,0f);
guiNode.attachChild(HUD);/pre
Why you expect a separate alpha map to be loaded? The HUDtestD.jpg should contain the alpha information if you want to have see-through parts in the GUI.
Well I also tried directly loading the alpha map and that didn’t work either.
EDIT: I’m an idiot, I totally zoned out and made the textures with paint program >.> Thanks for the help though!