Add emissive color to PhongMaterial

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: jfx11, jfx12
    • Component/s: javafx
    • Fix Understood

      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.

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

              Created:
              Updated: