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

Qt Quick Text gets correupted when a Qt3D ShaderProgram's shader loads multipule textures

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.15.18
    • 5.15.3, 5.15.5
    • Qt3D
    • None
    • Windows

      If you in a fragment shader call texture() multiple times with different textures you get the following problems

      • text in Quick and Quick Controls item gets corrupted
      • one of the textures are rendered on the scene (even though the current shader and geometry should not render anything)

      The problem disappears if you

      • resize window
      • change renderPolicy from OnDemand to Always

      Other notes:

      • problem not seen with Qt 5.12.7 or Qt 6.3.1
      • attached image and project example

        1. 3DProblem.png
          3DProblem.png
          84 kB
        2. 3DProblem.zip
          70 kB
        For Gerrit Dashboard: QTBUG-105376
        # Subject Branch Project Status CR V

            lemire_p Paul Lemire
            buggex buggex
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes