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

A map used in two passes will not have its UV Coords generated in the second one

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 6.3.0 Alpha
    • 6.3.0 Feature Freeze
    • Quick: 3D
    • None

      The problem arises when the reflection probes were introduced. The reflection pass is called first to render the scene from the reflection probe point of view. At this point, the "generateFragmentShader" function is called and if required, the UVCoordinates will be generated for some maps. The QSSGRenderableImage is shared between passes and when the UVCoordinates is generated for the first time, the flag "uvCoordsGenerated" is set to true.

       

      Any following pass that calls "generateFragmentShader" and then tries to generate the UVCoordinates will lead to the coordinates not generated because the flag is already set to true.

      The generated fragment shader has errors.

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

            hatemelkharashy Hatem ElKharashy
            tuliniemi Jere Tuliniemi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes