Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.2.2, 6.3.1
-
-
d6a9ed503 (dev), ae3fee7cb (tqtc/lts-6.2), cf631950b (6.5), 2459f5f02 (6.4)
Description
When PhongMaterial is used, following shader error occurs:
W libTest38_x86_64.so: QOpenGLShader::compile(Fragment): ERROR: 0:6: 'attribute' : supported in vertex shaders only W libTest38_x86_64.so: ERROR: 0:7: 'attribute' : supported in vertex shaders only 12-08 08:35:33.255 13633 13663 W libTest38_x86_64.so: W libTest38_x86_64.so: *** Problematic Fragment shader source code *** W libTest38_x86_64.so: #version 100 W libTest38_x86_64.so: #ifdef GL_KHR_blend_equation_advanced W libTest38_x86_64.so: #extension GL_ARB_fragment_coord_conventions : enable W libTest38_x86_64.so: #extension GL_KHR_blend_equation_advanced : enable W libTest38_x86_64.so: #endif W libTest38_x86_64.so: #ifndef GL_FRAGMENT_PRECISION_HIGH W libTest38_x86_64.so: #define highp mediump W libTest38_x86_64.so: #endif W libTest38_x86_64.so: #line 1 12-08 08:35:33.255 13633 13663 W libTest38_x86_64.so: W libTest38_x86_64.so: #define LAYER_diffuse W libTest38_x86_64.so: #define LAYER_specular W libTest38_x86_64.so: #define LAYER_normal W libTest38_x86_64.so: uniform highp vec3 eyePosition; W libTest38_x86_64.so: attribute highp vec3 worldPosition; W libTest38_x86_64.so: attribute highp vec3 worldNormal; W libTest38_x86_64.so: uniform highp float shininess; W libTest38_x86_64.so: uniform highp vec4 ks; W libTest38_x86_64.so: uniform highp vec4 kd; W libTest38_x86_64.so: uniform highp vec4 ka; W libTest38_x86_64.so: /**************************************************************************** W libTest38_x86_64.so: ** W libTest38_x86_64.so: ** Copyright (C) 2017 Klaralvdalens Datakonsult AB (KDAB). W libTest38_x86_64.so: ** Contact: https://www.qt.io/licensing/ W libTest38_x86_64.so: ** W libTest38_x86_64.so: ** This file is part of the Qt3D module of the Qt Toolkit. W libTest38_x86_64.so: ** W libTest38_x86_64.so: ** $QT_BEGIN_LICENSE:BSD$ W libTest38_x86_64.so: ** Commercial License Usage W libTest38_x86_64.so: ** Licensees holding valid commercial Qt licenses may use this file in W libTest38_x86_64.so: ** accordance with the commercial license agreement provided with the W libTest38_x86_64.so: ** Software or, alternatively,
Attachments
Issue Links
- blocks
-
QTBUG-76594 [REG 5.12.2->5.12.3]: Qt3D doesn't work on Toradex Apalis i.mx6q
- Closed
- is duplicated by
-
QTBUG-109496 Scene3d example doesn't properly fit on screen
- Reported
-
QTBUG-108497 Can't run Qt3D examples on Android with OpenGL renderer
- Closed
-
QTBUG-109495 3d-text example blank screen
- Closed
-
QTBUG-109515 Phong cubes example blank screen
- Closed
-
QTBUG-109516 Qarboard example has blank white screen
- Closed
-
QTBUG-109530 Lights example shows blank screen
- Closed
-
QTBUG-109534 Simple-cpp example has blank white screen
- Closed
-
QTBUG-109497 Controls example shows only controls
- Closed
-
QTBUG-109523 Simple-qml example not working properly
- Closed
-
QTBUG-109499 Anaglyph rendering example gives warnings
- Closed
For Gerrit Dashboard: QTBUG-99019 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
452387,2 | Fix the input qualifier of the fragment shader for GLSL1.10 | dev | qt/qt3d | Status: MERGED | +2 | 0 |
453129,2 | Fix the input qualifier of the fragment shader for GLSL1.10 | 6.5 | qt/qt3d | Status: MERGED | +2 | 0 |
453130,2 | Fix the input qualifier of the fragment shader for GLSL1.10 | 6.4 | qt/qt3d | Status: MERGED | +2 | 0 |
453137,2 | Fix the input qualifier of the fragment shader for GLSL1.10 | tqtc/lts-6.2 | qt/tqtc-qt3d | Status: MERGED | +2 | 0 |