Lines Matching refs:matTerrain
71 private Material matTerrain;
96 matTerrain = new Material(assetManager, "Common/MatDefs/Terrain/TerrainLighting.j3md");
97 matTerrain.setBoolean("useTriPlanarMapping", false);
98 matTerrain.setBoolean("WardIso", true);
101 matTerrain.setTexture("AlphaMap", assetManager.loadTexture("Textures/Terrain/splat/alphamap.png"));
109 matTerrain.setTexture("DiffuseMap", grass);
110 matTerrain.setFloat("DiffuseMap_0_scale", grassScale);
116 matTerrain.setTexture("DiffuseMap_1", dirt);
117 matTerrain.setFloat("DiffuseMap_1_scale", dirtScale);
122 matTerrain.setTexture("DiffuseMap_2", rock);
123 matTerrain.setFloat("DiffuseMap_2_scale", rockScale);
132 matTerrain.setTexture("NormalMap", normalMap0);
133 matTerrain.setTexture("NormalMap_1", normalMap2);
134 matTerrain.setTexture("NormalMap_2", normalMap2);
159 terrainQuad.setMaterial(matTerrain);