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

SpotLight doesn't work properly with PBR materials

XMLWordPrintable

    • Linux/X11, Windows
    • 3
    • ac890e6ca577dc6c37d71c21975c20b9b6b45045 (qt/qtquick3d/dev) 4659266aee531ebb698b4cfc57cce11ebe004e07 (qt/qtquick3d/6.1)
    • Qt Quick 3D - 2021 Week 11/12

      If a SpotLight is directed to a model with PBR material the light spot doesn't look correct.

      See the attached image.

      To reproduce:

      1) open "Light example"

      2) add to each Model with source: "#Rectangle" this material:

       

      PrincipledMaterial
      {
          baseColor: "#999944"
          metalness: 0.9
          roughness: 0.2
      }
      

      Another problem is the intersection line of 2 spotlights, light should be twice as intensive there but instead it falls (see example3 image). This problem is reproducible with DefaultMaterial.

       

        1. example3.jpg
          24 kB
          alexey89
        2. example2.jpg
          77 kB
          alexey89
        3. example.jpg
          164 kB
          alexey89
        For Gerrit Dashboard: QTBUG-89946
        # Subject Branch Project Status CR V

            inho Inho Lee
            alexey89 alexey89
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes