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

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

    Details

      Description

      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.

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: