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

Add emissive color to PhongMaterial

    Details

    • Type: Enhancement
    • Status: In Progress
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: openjfx11, openjfx12
    • Fix Version/s: openjfx14
    • Component/s: javafx
    • Labels:
    • Subcomponent:
    • Understanding:
      Fix Understood

      Description

      PhongMaterial is lacking a "self-illumination color" (also called emissive color). It's the Color counterpart of the self-illumination image, just like diffuse color + diffuse image and specular color + specular image. This means that the lighting formula will be changed to:

       color = (ambient + diffuse) * diffuseColor * diffuseMap
                   + specular * specularColor * specularMap
                   + selfIlluminationMap + emissiveColor

      This change has virtually no performance hit. The default value will have no effect (Black or null) to preserve backwards compatibility of the behavior.

        Attachments

          Activity

            People

            • Assignee:
              nlisker Nir Lisker
              Reporter:
              nlisker Nir Lisker
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: