Closed rainman110 closed 6 months ago
When running TiGLViewer with OCCT 7.6.0 and above, I get the following error from the fragment shader in the TiGL Viewer Console:
TKOpenGl | Type: Error | ID: 0 | Severity: High | Message: Failed to compile Fragment Shader [Graphic3d_ShaderProgram_1]. Compilation log: 0(438) : warning C7011: implicit cast from "bool" to "int" 0(459) : warning C1503: undefined variable "occFrontMaterial_Shininess" 0(459) : warning C1503: undefined variable "occBackMaterial_Shininess" 0(474) : warning C7011: implicit cast from "bool" to "int" 0(510) : warning C1503: undefined variable "occFrontMaterial_Shininess" 0(510) : warning C1503: undefined variable "occBackMaterial_Shininess" 0(523) : warning C7011: implicit cast from "bool" to "int" 0(537) : warning C1503: undefined variable "occFrontMaterial_Shininess" 0(537) : warning C1503: undefined variable "occBackMaterial_Shininess" 0(577) : warning C1503: undefined variable "occFrontMaterial_Ambient" 0(577) : warning C1503: undefined variable "occBackMaterial_Ambient" 0(578) : warning C1503: undefined variable "occFrontMaterial_Diffuse" 0(578) : warning C1503: undefined variable "occBackMaterial_Diffuse" 0(579) : warning C1503: undefined variable "occFrontMaterial_Specular" 0(579) : warning C1503: undefined variable "occBackMaterial_Specular" 0(580) : warning C1503: undefined variable "occFrontMaterial_Emission" 0(580) : warning C1503: undefined variable "occBackMaterial_Emission" 0(581) : warning C1503: undefined variable "occFrontMaterial_Transparency" 0(581) : warning C1503: undefined variable "occBackMaterial_Transparency" 0(459) : error C1008: undefined variable "occFrontMaterial_Shininess" 0(459) : error C1008: undefined variable "occBackMaterial_Shininess" 0(510) : error C1008: undefined variable "occFrontMaterial_Shininess" 0(510) : error C1008: undefined variable "occBackMaterial_Shininess" 0(537) : error C1008: undefined variable "occFrontMaterial_Shininess" 0(537) : error C1008: undefined variable "occBackMaterial_Shininess" 0(577) : error C1008: undefined variable "occFrontMaterial_Ambient" 0(577) : error C1008: undefined variable "occBackMaterial_Ambient" 0(578) : error C1008: undefined variable "occFrontMaterial_Diffuse" 0(578) : error C1008: undefined variable "occBackMaterial_Diffuse" 0(579) : error C1008: undefined variable "occFrontMaterial_Specular" 0(579) : error C1008: undefined variable "occBackMaterial_Specular" 0(580) : error C1008: undefined variable "occFrontMaterial_Emission" 0(580) : error C1008: undefined variable "occBackMaterial_Emission" 0(581) : error C1008: undefined variable "occFrontMaterial_Transparency" 0(581) : error C1008: undefined variable "occBackMaterial_Transparency"
I suppose, OCCT has changed the layout of the shader definitions.
The result is, that the zebra stripe plot is not working.
When running TiGLViewer with OCCT 7.6.0 and above, I get the following error from the fragment shader in the TiGL Viewer Console:
I suppose, OCCT has changed the layout of the shader definitions.
The result is, that the zebra stripe plot is not working.