Closed parisa-hr closed 2 years ago
I undid your changes because suddenly I couldn't see the gizmo anymore.
Instead I tried to fix the error message you got by removing gl_Fragcolor
and replace it with out vec4 fragColor
. Could you try to run it again?
I undid your changes because suddenly I couldn't see the gizmo anymore.
Instead I tried to fix the error message you got by removing
gl_Fragcolor
and replace it without vec4 fragColor
. Could you try to run it again?
Yes - thank you. It works well.
I got this error that makes me can't see shaders:
QOpenGLShader::compile(Fragment): 0(6) : error C7533: global variable gl_FragColor is deprecated after version 120
Problematic Fragment shader source code
version 130
ifdef GL_KHR_blend_equation_advanced
extension GL_ARB_fragment_coord_conventions : enable
extension GL_KHR_blend_equation_advanced : enable
endif
define lowp
define mediump
define highp
line 1
uniform vec3 color;
void main(void) { gl_FragColor = vec4(color, 1.0); }
This relates to my NVDI GPU and I should change the version to 120.