|
|
@ -57,7 +57,7 @@ public class TestColoredTexture extends SimpleApplication { |
|
|
|
Geometry quad = new Geometry("Quad", quadMesh); |
|
|
|
Geometry quad = new Geometry("Quad", quadMesh); |
|
|
|
quad.setQueueBucket(Bucket.Gui); |
|
|
|
quad.setQueueBucket(Bucket.Gui); |
|
|
|
|
|
|
|
|
|
|
|
mat = new Material(assetManager, "Common/MatDefs/Misc/ColoredTextured.j3md"); |
|
|
|
mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); |
|
|
|
mat.setTexture("ColorMap", assetManager.loadTexture("Textures/ColoredTex/Monkey.png")); |
|
|
|
mat.setTexture("ColorMap", assetManager.loadTexture("Textures/ColoredTex/Monkey.png")); |
|
|
|
quad.setMaterial(mat); |
|
|
|
quad.setMaterial(mat); |
|
|
|
guiNode.attachChildAt(quad, 0); |
|
|
|
guiNode.attachChildAt(quad, 0); |
|
|
|