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

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.3, 5.15.5
    • Qt3D
    • None
    • Windows

    Description

      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

      Attachments

        1. 3DProblem.png
          3DProblem.png
          84 kB
        2. 3DProblem.zip
          70 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes