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

Custom Material fragment shader sometimes does not have access to special variables

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 6.2.1, 6.3.0 Alpha
    • 6.2
    • Quick: 3D
    • None
    • Windows
    • bc253c9130b4dd06481e03bc0acf63cc0cf7017f (qt/qtquick3d/dev) da4e38c298e0f37d3510d9f5803335b067c99123 (qt/qtquick3d/6.2)
    • Qt Quick 3D: Week 37-38

    Description

      If a custom vertex shader was not provided in Custom Material, fragment shader will not have access to some special variables like VIEW_MATRIX and CAMERA_PROPERTIES. Trying to access these variables from the custom fragment shader will cause compilation error. 

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            hatemelkharashy Hatem ElKharashy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes