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

QglTF generates invalid shaders

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.6.0 Alpha
    • Qt3D
    • None

    Description

      QglTF generates shaders with varying names that cause duplicate definitions when loaded with glTFLoader. The loader renames attributes to be automatically usable, so varying or uniform names cannot be the same in the generated shaders.
      Forbidden names are:

      • position
      • normal
      • uv
      • normalMatrix
      • modelViewMatrix
      • projectionMatrix
      • skinWeight
      • skinIndex

      For varying/uniform, add something to the name (like normal -> vNormal).

      Attachments

        For Gerrit Dashboard: QTBUG-49343
        # Subject Branch Project Status CR V

        Activity

          People

            lagocs Laszlo Agocs
            tokorpip Tomi Korpipää
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes