12-25-2015, 08:41 PM
I evaluate better the error and all the messages were caused by the first one. So it seems to be a compatibility issue.
ERROR: 0:188: Invalid call of undeclared identifier 'trunc'
I replaced the trunc function by floor that I used in the other shaders which you didn't have problems.
The trunc function was included only in GLSL 1.30 (OpenGL 3.0).
Here is the marble.vs file for replacement.
ERROR: 0:188: Invalid call of undeclared identifier 'trunc'
I replaced the trunc function by floor that I used in the other shaders which you didn't have problems.
The trunc function was included only in GLSL 1.30 (OpenGL 3.0).
Here is the marble.vs file for replacement.