Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. Qt3D: RenderCapture and depth buffer
Forum Updated to NodeBB v4.3 + New Features

Qt3D: RenderCapture and depth buffer

Scheduled Pinned Locked Moved Solved Game Development
2 Posts 1 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dzimiwine
    wrote on last edited by
    #1

    Hi,
    I am implementing a GPU-based pick service for my game editor. Qt3D CPU-based picking support is not working well with some of my shaders (especially my geometry shaders). For that, I use a render pass where I render pickable objects with specific flat color associated to their pick id and then capture the color output texture using QRenderCapture. I also need to capture the depth texture (i will deal with the normals later) but I do not know how. I hope that I do not need another dummy pass just to render the depth as color.
    Do you have an idea how to do it?

    Regards

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dzimiwine
      wrote on last edited by dzimiwine
      #2

      FYI, I have opened a suggestion issue, which has been approved: https://bugreports.qt.io/browse/QTBUG-65155

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved