Victor Haefner
2014-11-08 18:43:19 UTC
Hi,
I have a small problem on my
AMD Radeon HD 7500M/7600M
- using colors per vertex works without shader
- using colors per vertex and a shader accessing them with gl_Color works
in older OpenSG 2
- the variable gl_Color in the vertex shader is black with the newest
version of OpenSG 2
on nvidia I have no problems.
the shader is a simple pass through shader
#version 120
void main( void ) {
gl_Position = gl_ModelViewProjectionMatrix*gl_Vertex;
gl_FrontColor = gl_Color;
}
#version 120
GLSL(
void main( void ) {
gl_FragColor = gl_Color;
}
but the problem applies to all my shaders accessing the color
What information can I provide here to help find the issue?
I tried gdebugger but it does not run on that system because of some
library bug, I will look into it.
Best regards,
Victor
I have a small problem on my
AMD Radeon HD 7500M/7600M
- using colors per vertex works without shader
- using colors per vertex and a shader accessing them with gl_Color works
in older OpenSG 2
- the variable gl_Color in the vertex shader is black with the newest
version of OpenSG 2
on nvidia I have no problems.
the shader is a simple pass through shader
#version 120
void main( void ) {
gl_Position = gl_ModelViewProjectionMatrix*gl_Vertex;
gl_FrontColor = gl_Color;
}
#version 120
GLSL(
void main( void ) {
gl_FragColor = gl_Color;
}
but the problem applies to all my shaders accessing the color
What information can I provide here to help find the issue?
I tried gdebugger but it does not run on that system because of some
library bug, I will look into it.
Best regards,
Victor