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

When both diffuseMap and diffuseColor are set in PhongMaterial, diffuseMap is not used

XMLWordPrintable

      Run the attached app from FX8-3DAPI.
      Press M to switch diffuseMap
      Press C to switch diffuseColor
      The texture is shown only when diffuseColor set to null or Color.TRANSPARENT.
      I'd expect them to either combine or map to override color setting.

        1. MeshViewerBug.java
          10 kB
        2. BlackTextureBug.java
          2 kB
        3. cone-stripes.jpg
          cone-stripes.jpg
          14 kB
        4. observed.jpg
          observed.jpg
          5 kB

            ckyang Chien Yang (Inactive)
            mrkam Alexander Kuznetcov (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: