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

FX & Material Showroom: Error compiling fragment shader

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.3, 6.7.0 Beta3, 6.8.1, 6.10.0 Beta1
    • Examples and Demos
    • None

    Description

      Switching to the 'night'/'moon' view results in an fragment shader warning at runtime:

      QSpirvCompiler: Failed to parse shader
      Failed to compile fragment shader 
      
      "custom material -->floor.vert>floor.frag:e7e4decd50bddc6770e06461cb90c7e39abc694c;hasLighting=true;lightCount=0;specularModel=Default;;diffuseMap={;;;;};emissiveMap={;;;;};specularMap={;;;;};baseColorMap={;;;;};bumpMap={;;;;};specularAmountMap={;;;;};normalMap={;;;;};clearcoatNormalMap={;;;;};opacityMap={;;;;};roughnessMap={;;;;};metalnessMap={;;;;};occlusionMap={;;;;};translucencyMap={;;;;};heightMap={;;;;};clearcoatMap={;;;;};clearcoatRoughnessMap={;;;;};transmissionMap={;;;;};thicknessMap={;;;;};opacityMap_channel=R;roughnessMap_channel=R;metalnessMap_channel=R;occlusionMap_channel=R;translucencyMap_channel=R;heightMap_channel=R;clearcoatMap_channel=R;clearcoatRoughnessMap_channel=R;transmissionMap_channel=R;thicknessMap_channel=R;boneCount=0;alphaMode=Default;;vertexAttributes={position=true;normal=true;texcoord0=true;texcoord1=true;tangent=true;binormal=true;;}};targetCount=0;targetPositionOffset=255;targetNormalOffset=255;targetTangentOffset=255;targetBinormalOffset=255;targetTexCoord0Offset=255;targetTexCoord1Offset=255;targetColorOffset=255;specularAAEnabled=true;debugMode=0" 
       "ERROR: :29: 'paramsTexture' : undeclared identifier \nERROR: :29: '' : compilation terminated \nERROR: 2 compilation errors.  No code generated."
      

      Attachments

        Issue Links

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

          Activity

            People

              tuukkajr Tuukka Rinkinen
              kkohne Kai Köhne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes