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

Rendering to texture - RHI DirectX vs OpenGL produce different results

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 6.5.2, 6.7
    • Qt3D
    • None
    • Windows

    Description

      When rendering to a texture map and then putting that texture map onto a quad. The texture is swapped between opengl and directx. I've attached an example program. 

      The result with env QSG_RHI_BACKEND=opengl

      The result with env QSG_RHI_BACKEND=directx

      If you look at the textures in NVidia's NSight. You'll notice that DirectX use top left as 0,0 for the origin in a texture and in OpenGL, it's the bottom right. 

      DirectX:

      OpenGL:

       

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            vpicaver Philip Schuchardt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes