|
@@ -49,7 +49,7 @@ public class TestBox extends SimpleApplication {
|
|
|
public void simpleInitApp() {
|
|
|
Box b = new Box(Vector3f.ZERO, 1, 1, 1);
|
|
|
Geometry geom = new Geometry("Box", b);
|
|
|
- Material mat = new Material(assetManager, "Common/MatDefs/Misc/SimpleTextured.j3md");
|
|
|
+ Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
|
|
|
mat.setTexture("ColorMap", assetManager.loadTexture("Interface/Logo/Monkey.jpg"));
|
|
|
geom.setMaterial(mat);
|
|
|
rootNode.attachChild(geom);
|