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

DepthTest framegraph overriden

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 5.12
    • Qt3D
    • None
    • Nvidia GTX 970
    • Linux/X11

    Description

      I have a scene which render two spheres with a custom material. The first sphere is rendered with material one, with only one pass, while the second sphere has two passes, one with NoDepthMask. Both spheres are rendered in separate renderviews using a LayerFilter. 

      All this is rendered into a custom rendertarget which then is copied to the default framebuffer using a custom shader on a Planemesh. To perform this operation, Im adding a DepthTest{depthFunction: Always} node.

      The problem is that the DepthTest state is being override. It does one call with GL_ALWAYS, but then is does another one with GL_LESS, so the PlaneMesh is not rendered anymore. 

      I know some ways to solve it, modifying the FrameGraph, but the GL_ALWAYS shouldn't be overrided anyway. 

      I attach the scene and a opengl trace. 

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            juan.casafranca Juan José Casafranca
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes