Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-76580

QPaintedTextureImage alpha with QTextureMaterial incorrect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.12.3, 5.13.0
    • Qt3D
    • None
    • Win10, MSVC 2017x64, Qt 5.13.0, Nvidia GTX 1080 GPU
    • Windows

    Description

      When QPaintedTextureImage's painter clears to a transparent background and is used with QTextureMaterial, the pixels that should have 0 alpha still show some ambient white color. 

      Attached a modified example of the manual test showing this problem.  The clear pixels in the texture should show the bright green color through.  The contents of the texture image don't seem to get cleared correctly when the QPainter background is set to QColor(0,0,0,0), either. 

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            seanharmer Sean Harmer
            ttgil Gil
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes