jme3-examples: apply the "dirt_normal.png" normal map where appropriate

accellbaker
sgold 5 years ago
parent 8856ba7d25
commit 2ab0319202
  1. 2
      jme3-examples/src/main/java/jme3test/bullet/TestHoveringTank.java
  2. 2
      jme3-examples/src/main/java/jme3test/bullet/TestWalkingChar.java
  3. 2
      jme3-examples/src/main/java/jme3test/light/TestSpotLightTerrain.java
  4. 2
      jme3-examples/src/main/java/jme3test/post/TestDepthOfField.java
  5. 2
      jme3-examples/src/main/java/jme3test/post/TestFog.java
  6. 2
      jme3-examples/src/main/java/jme3test/terrain/TerrainTestReadWrite.java
  7. 2
      jme3-examples/src/main/java/jme3test/water/TestMultiPostWater.java
  8. 2
      jme3-examples/src/main/java/jme3test/water/TestPostWater.java

@ -283,7 +283,7 @@ public class TestHoveringTank extends SimpleApplication implements AnalogListene
Texture normalMap2 = assetManager.loadTexture("Textures/Terrain/splat/road_normal.png");
normalMap2.setWrap(WrapMode.Repeat);
matRock.setTexture("NormalMap", normalMap0);
matRock.setTexture("NormalMap_1", normalMap2);
matRock.setTexture("NormalMap_1", normalMap1);
matRock.setTexture("NormalMap_2", normalMap2);
AbstractHeightMap heightmap = null;

@ -262,7 +262,7 @@ public class TestWalkingChar extends SimpleApplication implements ActionListener
Texture normalMap2 = assetManager.loadTexture("Textures/Terrain/splat/road_normal.png");
normalMap2.setWrap(WrapMode.Repeat);
matRock.setTexture("NormalMap", normalMap0);
matRock.setTexture("NormalMap_1", normalMap2);
matRock.setTexture("NormalMap_1", normalMap1);
matRock.setTexture("NormalMap_2", normalMap2);
AbstractHeightMap heightmap = null;

@ -165,7 +165,7 @@ public class TestSpotLightTerrain extends SimpleApplication {
Texture normalMap2 = assetManager.loadTexture("Textures/Terrain/splat/road_normal.png");
normalMap2.setWrap(WrapMode.Repeat);
matTerrain.setTexture("NormalMap", normalMap0);
matTerrain.setTexture("NormalMap_1", normalMap2);
matTerrain.setTexture("NormalMap_1", normalMap1);
matTerrain.setTexture("NormalMap_2", normalMap2);
matTerrain.setTexture("NormalMap_4", normalMap2);

@ -166,7 +166,7 @@ public class TestDepthOfField extends SimpleApplication {
Texture normalMap2 = assetManager.loadTexture("Textures/Terrain/splat/road_normal.png");
normalMap2.setWrap(WrapMode.Repeat);
matRock.setTexture("NormalMap", normalMap0);
matRock.setTexture("NormalMap_1", normalMap2);
matRock.setTexture("NormalMap_1", normalMap1);
matRock.setTexture("NormalMap_2", normalMap2);
AbstractHeightMap heightmap = null;

@ -180,7 +180,7 @@ public class TestFog extends SimpleApplication {
Texture normalMap2 = assetManager.loadTexture("Textures/Terrain/splat/road_normal.png");
normalMap2.setWrap(Texture.WrapMode.Repeat);
matRock.setTexture("NormalMap", normalMap0);
matRock.setTexture("NormalMap_1", normalMap2);
matRock.setTexture("NormalMap_1", normalMap1);
matRock.setTexture("NormalMap_2", normalMap2);
AbstractHeightMap heightmap = null;

@ -130,7 +130,7 @@ public class TerrainTestReadWrite extends SimpleApplication {
Texture normalMap2 = assetManager.loadTexture("Textures/Terrain/splat/road_normal.png");
normalMap2.setWrap(WrapMode.Repeat);
matTerrain.setTexture("NormalMap", normalMap0);
matTerrain.setTexture("NormalMap_1", normalMap2);
matTerrain.setTexture("NormalMap_1", normalMap1);
matTerrain.setTexture("NormalMap_2", normalMap2);
matWire = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");

@ -160,7 +160,7 @@ public class TestMultiPostWater extends SimpleApplication {
Texture normalMap2 = assetManager.loadTexture("Textures/Terrain/splat/road_normal.png");
normalMap2.setWrap(WrapMode.Repeat);
matRock.setTexture("NormalMap", normalMap0);
matRock.setTexture("NormalMap_1", normalMap2);
matRock.setTexture("NormalMap_1", normalMap1);
matRock.setTexture("NormalMap_2", normalMap2);
AbstractHeightMap heightmap = null;

@ -276,7 +276,7 @@ public class TestPostWater extends SimpleApplication {
Texture normalMap2 = assetManager.loadTexture("Textures/Terrain/splat/road_normal.png");
normalMap2.setWrap(WrapMode.Repeat);
matRock.setTexture("NormalMap", normalMap0);
matRock.setTexture("NormalMap_1", normalMap2);
matRock.setTexture("NormalMap_1", normalMap1);
matRock.setTexture("NormalMap_2", normalMap2);
AbstractHeightMap heightmap = null;

Loading…
Cancel
Save