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

SpotLight doesn't work properly with PBR materials

    XMLWordPrintable

Details

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

    Description

      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.

       

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes