Hi, i get this errors when starting chitubox x64 on linux (arch linux), since the latest qt update:
==bSupport_GL_EXT: false
GPU vendor: X.Org
GPU version: 4.6 (Compatibility Profile) Mesa 20.2.3
GPU render: AMD Radeon RX 5700 XT (NAVI10, DRM 3.39.0, 5.9.10-arch1-1, LLVM 11.0.0)
core: true
validVersion: "46"
hasFrameBufferObjects: true
QOpenGLShader::compile(Vertex): 0:4(7): error: identifier `gl_Position' uses reserved `gl_' prefix
*** Problematic Vertex shader source code ***
#version 460
#define lowp
#define mediump
#define highp
#line 1
in vec4 vertex;
out VS_OUT {
vec3 vert;
vec4 gl_Position;
} vs_out;
uniform mat4 projMatrix;
uniform mat4 mvMatrix;
uniform mat4 modelMatrix;
uniform mat3 modelNormalMatrix;
void main() {
vs_out.vert = (modelMatrix*vertex).xyz;
gl_Position = projMatrix * mvMatrix *modelMatrix* vertex;
}
***
=====error link: model "0:4(7): error: identifier `gl_Position' uses reserved `gl_' prefix\n"
QOpenGLShader::compile(Vertex): 0:4(7): error: identifier `gl_Position' uses reserved `gl_' prefix
*** Problematic Vertex shader source code ***
#version 460
#define lowp
#define mediump
#define highp
#line 1
in vec4 vertex;
out VS_OUT {
vec3 vert;
vec4 gl_Position;
} vs_out;
uniform mat4 projMatrix;
uniform mat4 mvMatrix;
uniform mat4 modelMatrix;
uniform mat3 modelNormalMatrix;
void main() {
vs_out.vert = (modelMatrix*vertex).xyz;
gl_Position = projMatrix * mvMatrix *modelMatrix* vertex;
}
***
=====error link2: model "0:4(7): error: identifier `gl_Position' uses reserved `gl_' prefix\n"
=====no geometryShader
The result is, that the models are not displayed correctly, you can barely see it, as it has no real surface