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

Multiple Lights don't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • 5.7.0
    • Qt3D TP2
    • Qt3D

    Description

      Something like this should work, but doesn't:

      Viewport {
              anchors.fill: parent
       
              light: [ Light {
                          id: light0
                          position: Qt.vector3d(-15,10,5)
                          diffuseColor: "white"
       
                      },
                        Light {
                          id: light1
                          position: Qt.vector3d(15,-10,5)
                          diffuseColor: "white"
                      }
      }
      

      Note this is partially dependant on the positional light bug QTBUG-22414 and is also related to issues with structs on devices that cause QTBUG-19388

      Attachments

        Issue Links

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

          Activity

            People

              debhal Julian de Bhal (closed Nokia identity) (Inactive)
              debhal Julian de Bhal (closed Nokia identity) (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes