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

QglTF generates invalid shaders

XMLWordPrintable

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

      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).

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes