- remove deprecated material data from BasicGame template Main.java

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7172 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 14 years ago
parent db8034d894
commit 9ef10e5ac7
  1. 4
      sdk/BasicGameTemplate/src/mygame/Main.java

@ -25,8 +25,8 @@ public class Main extends SimpleApplication {
Geometry geom = new Geometry("Box", b);
geom.updateModelBound();
Material mat = new Material(assetManager, "Common/MatDefs/Misc/SolidColor.j3md");
mat.setColor("m_Color", ColorRGBA.Blue);
Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
mat.setColor("Color", ColorRGBA.Blue);
geom.setMaterial(mat);
rootNode.attachChild(geom);

Loading…
Cancel
Save