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

Share Samplers for Occlusion/Roughness/Metalness/Opacity textures

    XMLWordPrintable

Details

    • Task
    • Resolution: Won't Do
    • P2: Important
    • 6.3.0 Alpha, 6.x
    • 6.0.0
    • Quick: 3D
    • None
    • 3
    • 4b444d5b2567c20c23ca0f315163d63a95d5f5c9 (qt/tqtc-qtquick3d/dev)

    Description

      With the PrincipledMaterial it is possible to use the same texture for:

      OcclusionMaps

      RoughnessMaps

      MetalnessMaps

      OpacityMaps

      By setting the color channel which that property is sampled from.  While the same texture memory is used for each usage, a separate sampler is created for each property.  There is not an unlimited amount of Samplers available for materials at runtime, and we should not be so wasteful.

      Instead we should find a way to use the same sampler when these material properties share the same texture source.

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            janichol Andy Nichols
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes