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:
parent
dbe1bb0ed6
commit
e44d581fea
@ -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));
|
||||||
|
|
||||||
|
@ -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));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user