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

CustomMaterial shader can't be compiled if there are no joints in the scene

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.3.0 Beta2
    • Quick: 3D
    • None
    • Windows

      I use single shader for skinned/semi-skinned and not skinned meshes. The shader works as long as there is a Joint node in the scene. If there are no joints, it shows an error and the mesh is not visible.
      "ERROR: :10: 'qt_boneTransforms' : undeclared identifier.
      To bypass the problem a dummy joint can be added to the scene.

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

            qt.team.graphics.and.multimedia Qt Graphics Team
            alexey89 alexey89
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes