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

Add depth bias to RHI to support Quick3D shadow mapping

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • 5.15
    • None
    • Qt RHI, Quick: 3D
    • None

    Description

      https://docs.microsoft.com/en-us/windows/win32/direct3d11/d3d10-graphics-programming-guide-output-merger-stage-depth-bias

      Quick 3D renders shadow maps with depth bias 2 and slope-scaled bias 1.5.

      Also beware that the bias is int in D3D, whereas others are using float. So QRhi has to go with int as well.

      Depth clamp is ignored for now.

      Attachments

        Issue Links

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

          Activity

            People

              lagocs Laszlo Agocs
              lagocs Laszlo Agocs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes