title: JavaFX material's bump and spec maps
body: <p>When JavaFX8 code loads the color, bump and spec maps, the color and spec work as expected, but bump map is causing strange effects. All three are Mercator maps of Earth. Generally, there is no 3d effect added by the bump map. Bump map only causes Himalaya and Andes appear on the lit side of the globe as black areas with shiny border and on the shaded side as they appear on the color map. What am I doing wrong?</p>
  
  <pre><code>Image diffMap = null;
  Image bumpMap = null;
  Image specMap = null;
  diffMap = new Image(MoleculeSampleApp.class.getResource("Color Map1.jpg").toExternalForm());
  bumpMap = new Image(MoleculeSampleApp.class.getResource("Bump1.jpg").toExternalForm());
  specMap = new Image(MoleculeSampleApp.class.getResource("Spec Mask1.png").toExternalForm());
  final PhongMaterial earthMaterial = new PhongMaterial(Color.WHITE, diffMap, specMap, bumpMap, null);
  earthMaterial.setDiffuseColor(Color.WHITE);
  earthMaterial.setSpecularColor(Color.WHITE);
  </code></pre>
  
  <p>Being new to 3d my first thought is that there should be some kind of scaling pixel color values of the bump map into elevation, which I am missing.</p>