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

Add depth bias to RHI to support Quick3D shadow mapping

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes