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

Share Samplers for Occlusion/Roughness/Metalness/Opacity textures

XMLWordPrintable

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

      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.

        For Gerrit Dashboard: QTBUG-86562
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes