anchor.diff:  === Looking at the Heightmap Code
   
   
  -image::jme3/beginner/mountains512.png[mountains512.png,with="128",height="128",align="right"]
  +image::jme3/beginner/mountains512.png[mountains512.png,128,128,align="right"]
   
   
   The first step of terrain creation is the heightmap. You can create one yourself in any standard graphic application. Make sure it has the following properties:
  
positive.code: You have created the terrain object.
  
  .  Remember to apply the created material: 
  [source,java]
  ----
  terrain.setMaterial(mat_terrain);
  ----
  
  .  Remember to attach the terrain to the rootNode.
  [source,java]
  ----
  rootNode.attachChild(terrain);
  
negative.code: 
  .  If needed, scale and translate the terrain object, just like any other Spatial.
  
  [TIP]
  ====
  Terrain.j3md is an unshaded material definition, so you do not need a light source. You can also use TerrainLighting.j3md plus a light, if you want a shaded terrain.
  ====
  
  
  == What is LOD (Level of Detail)?
  