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

LCD Text distorts underlying image

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • fx2.1
    • fx2.1
    • javafx
    • None

      LCD Text distorts underlying image. As result it looks if with different gamma.
      It is simple to understad while looking into the shader :

          float3 dstClr = sample(dstColor, texCoord2).rgb;
          float3 dstAdj = pow(dstClr, invGamma);
          float3 result = mix(dstClr, srcClr, glyphClr);

      dstAdj is NEVER used, but it must.

            prr Philip Race
            kprazdnikwse Kirill.Prazdnikov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: