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

Add emissive color to PhongMaterial

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • tbd
    • jfx11, jfx12
    • javafx
    • 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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: