Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-1714

Area light direction is wrong with custom materials

    XMLWordPrintable

    Details

    • Commits:
      cd4d63f42b2f463cee2abb050e7db4b25c853771 52e15f5a192e196e3d8ab65de0766bee3b03d0a3

      Description

      The direction of area light is lighting the opposite direction it should be.

      It seems that there is a difference on how the RT1.1 is setting the area light direction for custom and default materials. For custom material it is inverted, apparently because the shader code expects the direction in that way.

      Instead of fixing the RT2.0 to set the direction the same way as RT1.1, this should be fixed so that both materials use the direction in same direction by changing the material shaders.

        Attachments

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

          Activity

            People

            Assignee:
            anmaatta Antti Määttä
            Reporter:
            anmaatta Antti Määttä
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes