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

Multiple 3D Models with transparent texture overlapping together rendered in wrong order.

    XMLWordPrintable

Details

    Description

      2025-02-27 13-38-19.mp4

       

      Here’s a simple demo: A cube is overlapped on top of a plane. Both objects are assigned custom materials, which contain a map with an alpha channel.
      No matter what the depth draw mode is, there’s always an issue with the blending effect and rendering order.
      RenderDoc shows that the rendering order of transparent objects depends on the axis (or pivot) point.

      Workaround: Change the depth bias when the scene is simple.

       

      Tested version: Qt 6.5 and above, including 6.8 6.9

       

      Demo Code:

      https://filesender.qt.io/?s=download&token=ae091324-42ee-45aa-8b60-9d0bc22a1717

      Attachments

        Issue Links

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

          Activity

            People

              bruno.vunderl Bruno Vunderl
              znjiao zhining jiao
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes