Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8123355

PhongMaterial JavaDoc fixes and clarifications

XMLWordPrintable

      There are formatting errors in the PhongMaterial javadoc (strange {@code sequences), for example the javadoc contains text like below:

        "The bump map of this {@code PhongMaterial)."

      http://download.java.net/jdk8/jfxdocs/javafx/scene/paint/PhongMaterial.html#bumpMapProperty

      -----

      There is nothing in the javadoc to indicate that an input bump image should be encoded as a normal map.

      Please update the javadoc to specify that the input map must be a normal map and not a height map.
      I made the mistake of inputting a height map and thought the bump feature was just broken.
      The filers of RT-31455 and RT-29258 were similarly confused.

            yaow Yao Wang (Inactive)
            josmithjfx John Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: