Home
last modified time | relevance | path

Searched refs:matTerrain (Results 1 – 4 of 4) sorted by relevance

/external/jmonkeyengine/engine/src/test/jme3test/light/
DTestSpotLightTerrain.java65 Material matTerrain; field in TestSpotLightTerrain
119 matTerrain = new Material(assetManager, "Common/MatDefs/Terrain/TerrainLighting.j3md"); in makeTerrain()
120 matTerrain.setBoolean("useTriPlanarMapping", false); in makeTerrain()
121 matTerrain.setBoolean("WardIso", true); in makeTerrain()
124matTerrain.setTexture("AlphaMap", assetManager.loadTexture("Textures/Terrain/splat/alpha1.png")); in makeTerrain()
125matTerrain.setTexture("AlphaMap_1", assetManager.loadTexture("Textures/Terrain/splat/alpha2.png")); in makeTerrain()
134 matTerrain.setTexture("DiffuseMap", grass); in makeTerrain()
135 matTerrain.setFloat("DiffuseMap_0_scale", grassScale); in makeTerrain()
140 matTerrain.setTexture("DiffuseMap_1", dirt); in makeTerrain()
141 matTerrain.setFloat("DiffuseMap_1_scale", dirtScale); in makeTerrain()
[all …]
/external/jmonkeyengine/engine/src/test/jme3test/terrain/
DTerrainTestAdvanced.java66 Material matTerrain; field in TerrainTestAdvanced
98 matTerrain = new Material(assetManager, "Common/MatDefs/Terrain/TerrainLighting.j3md"); in simpleInitApp()
99 matTerrain.setBoolean("useTriPlanarMapping", false); in simpleInitApp()
100 matTerrain.setFloat("Shininess", 0.0f); in simpleInitApp()
103matTerrain.setTexture("AlphaMap", assetManager.loadTexture("Textures/Terrain/splat/alpha1.png")); in simpleInitApp()
104matTerrain.setTexture("AlphaMap_1", assetManager.loadTexture("Textures/Terrain/splat/alpha2.png")); in simpleInitApp()
118 matTerrain.setTexture("DiffuseMap", dirt); in simpleInitApp()
119 matTerrain.setFloat("DiffuseMap_0_scale", dirtScale); in simpleInitApp()
146 matTerrain.setTexture("NormalMap", normalMap0); in simpleInitApp()
182 terrain.setMaterial(matTerrain); in simpleInitApp()
[all …]
DTerrainTestModifyHeight.java81 Material matTerrain; field in TerrainTestModifyHeight
202 terrain.setMaterial(matTerrain);
280 matTerrain = new Material(assetManager, "Common/MatDefs/Terrain/TerrainLighting.j3md"); in createTerrain()
281 matTerrain.setBoolean("useTriPlanarMapping", false); in createTerrain()
282 matTerrain.setBoolean("WardIso", true); in createTerrain()
283 matTerrain.setFloat("Shininess", 0); in createTerrain()
286matTerrain.setTexture("AlphaMap", assetManager.loadTexture("Textures/Terrain/splat/alphamap.png")); in createTerrain()
291 matTerrain.setTexture("DiffuseMap", grass); in createTerrain()
292 matTerrain.setFloat("DiffuseMap_0_scale", grassScale); in createTerrain()
297 matTerrain.setTexture("DiffuseMap_1", dirt); in createTerrain()
[all …]
DTerrainTestReadWrite.java71 private Material matTerrain; field in TerrainTestReadWrite
96 matTerrain = new Material(assetManager, "Common/MatDefs/Terrain/TerrainLighting.j3md"); in createMap()
97 matTerrain.setBoolean("useTriPlanarMapping", false); in createMap()
98 matTerrain.setBoolean("WardIso", true); in createMap()
101matTerrain.setTexture("AlphaMap", assetManager.loadTexture("Textures/Terrain/splat/alphamap.png")); in createMap()
109 matTerrain.setTexture("DiffuseMap", grass); in createMap()
110 matTerrain.setFloat("DiffuseMap_0_scale", grassScale); in createMap()
116 matTerrain.setTexture("DiffuseMap_1", dirt); in createMap()
117 matTerrain.setFloat("DiffuseMap_1_scale", dirtScale); in createMap()
122 matTerrain.setTexture("DiffuseMap_2", rock); in createMap()
[all …]