- remove deprecated material data from BasicGame template Main.java
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7172 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
db8034d894
commit
9ef10e5ac7
@ -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…
x
Reference in New Issue
Block a user