Lines Matching refs:matTerrain
81 Material matTerrain;
202 terrain.setMaterial(matTerrain);
280 matTerrain = new Material(assetManager, "Common/MatDefs/Terrain/TerrainLighting.j3md");
281 matTerrain.setBoolean("useTriPlanarMapping", false);
282 matTerrain.setBoolean("WardIso", true);
283 matTerrain.setFloat("Shininess", 0);
286 matTerrain.setTexture("AlphaMap", assetManager.loadTexture("Textures/Terrain/splat/alphamap.png"));
291 matTerrain.setTexture("DiffuseMap", grass);
292 matTerrain.setFloat("DiffuseMap_0_scale", grassScale);
297 matTerrain.setTexture("DiffuseMap_1", dirt);
298 matTerrain.setFloat("DiffuseMap_1_scale", dirtScale);
303 matTerrain.setTexture("DiffuseMap_2", rock);
304 matTerrain.setFloat("DiffuseMap_2_scale", rockScale);
323 terrain.setMaterial(matTerrain);
332 matTerrain = new Material(this.assetManager, "Common/MatDefs/Terrain/HeightBasedTerrain.j3md");
347 matTerrain.setTexture("region1ColorMap", grass);
348 matTerrain.setVector3("region1", new Vector3f(88, 200, this.grassScale));
353 matTerrain.setTexture("region2ColorMap", dirt);
354 matTerrain.setVector3("region2", new Vector3f(0, 90, this.dirtScale));
359 matTerrain.setTexture("region3ColorMap", rock);
360 matTerrain.setVector3("region3", new Vector3f(198, 260, this.rockScale));
362 matTerrain.setTexture("region4ColorMap", rock);
363 matTerrain.setVector3("region4", new Vector3f(198, 260, this.rockScale));
365 matTerrain.setTexture("slopeColorMap", rock);
366 matTerrain.setFloat("slopeTileFactor", 32);
368 matTerrain.setFloat("terrainSize", 513);
408 terrain.setMaterial(matTerrain);