Fix: fixed, white terrain effect according to the forum

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7777 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
ant..om 2011-06-29 06:20:37 +00:00
parent dbe1bb0ed6
commit e44d581fea
2 changed files with 0 additions and 2 deletions

View File

@ -91,7 +91,6 @@ public class TerrainFractalGridTest extends SimpleApplication {
this.mat_terrain.setTexture("region3ColorMap", rock); this.mat_terrain.setTexture("region3ColorMap", rock);
this.mat_terrain.setVector3("region3", new Vector3f(198, 260, this.rockScale)); this.mat_terrain.setVector3("region3", new Vector3f(198, 260, this.rockScale));
// ROCK texture
this.mat_terrain.setTexture("region4ColorMap", rock); this.mat_terrain.setTexture("region4ColorMap", rock);
this.mat_terrain.setVector3("region4", new Vector3f(198, 260, this.rockScale)); this.mat_terrain.setVector3("region4", new Vector3f(198, 260, this.rockScale));

View File

@ -124,7 +124,6 @@ public class TerrainGridTest extends SimpleApplication {
BulletAppState bulletAppState = new BulletAppState(); BulletAppState bulletAppState = new BulletAppState();
stateManager.attach(bulletAppState); stateManager.attach(bulletAppState);
this.getCamera().setLocation(new Vector3f(0, 256, 0)); this.getCamera().setLocation(new Vector3f(0, 256, 0));
this.viewPort.setBackgroundColor(new ColorRGBA(0.7f, 0.8f, 1f, 1f)); this.viewPort.setBackgroundColor(new ColorRGBA(0.7f, 0.8f, 1f, 1f));