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. BlackTextureBug.java
          2 kB
          Alexander Kuznetcov
        2. cone-stripes.jpg
          14 kB
          Alexander Kuznetcov
        3. MeshViewerBug.java
          10 kB
          Alexander Kuznetcov
        4. observed.jpg
          5 kB
          Alexander Kuznetcov

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

              Created:
              Updated:
              Resolved:
              Imported: