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

Incorrect roughness to mip level mapping in PBR shaders

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.9.0 Beta 2, 5.9.0 RC
    • 5.9.0 Beta 1
    • Qt3D
    • None
    • 6b231725b2b5e0f2d797f8939bd02637d0196942 afbf3d45f6e440b1d71d62a85289bd8fcc98a134

    Description

      When using IBL with PBR shaders the calculation of the mip level from the roughness value relies upon the env maps having a size on 2k (I think). When using smaller env maps, we end up calculating mip levels that are too high and contain bad/missing data leading to broken lighting for very rough materials.

      Check this roughness to mip mapping function and try to use one independent of the env map size or expose properties to control it.

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            seanharmer Sean Harmer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes