Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-2637

Shader compilation fails if custom material shaders require any shader uniform properties

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • QDS 1.6
    • QDS 1.6 Beta
    • 3D View
    • None

    Description

      CustomMaterial shader fails to compile if there are any uniforms used in shaders. The conversion of CustomMaterial's properties to uniforms fails, leading in errors about undefined variables in shaders.

      This worked until recently. Currently it seems that all uniforms detect as QVariant type instead of their actual type in QQuick3DCustomMaterial::updateSpatialNode. 

      The material works in preview.

      Attachments

        Activity

          People

            e0348803 Miikka Heikkinen
            e0348803 Miikka Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: