Lines Matching refs:matTerrain
65 Material matTerrain;
119 matTerrain = new Material(assetManager, "Common/MatDefs/Terrain/TerrainLighting.j3md");
120 matTerrain.setBoolean("useTriPlanarMapping", false);
121 matTerrain.setBoolean("WardIso", true);
124 matTerrain.setTexture("AlphaMap", assetManager.loadTexture("Textures/Terrain/splat/alpha1.png"));
125 matTerrain.setTexture("AlphaMap_1", assetManager.loadTexture("Textures/Terrain/splat/alpha2.png"));
134 matTerrain.setTexture("DiffuseMap", grass);
135 matTerrain.setFloat("DiffuseMap_0_scale", grassScale);
140 matTerrain.setTexture("DiffuseMap_1", dirt);
141 matTerrain.setFloat("DiffuseMap_1_scale", dirtScale);
146 matTerrain.setTexture("DiffuseMap_2", rock);
147 matTerrain.setFloat("DiffuseMap_2_scale", rockScale);
152 matTerrain.setTexture("DiffuseMap_3", brick);
153 matTerrain.setFloat("DiffuseMap_3_scale", rockScale);
158 matTerrain.setTexture("DiffuseMap_4", riverRock);
159 matTerrain.setFloat("DiffuseMap_4_scale", rockScale);
168 matTerrain.setTexture("NormalMap", normalMap0);
169 matTerrain.setTexture("NormalMap_1", normalMap2);
170 matTerrain.setTexture("NormalMap_2", normalMap2);
171 matTerrain.setTexture("NormalMap_4", normalMap2);
196 terrain.setMaterial(matTerrain);