Hi everyone
I have a fragment program that works fine into my main machine, but into a laptop with updated graphics drivers (Intel HD Grapchics) throws an error. Anyone imagine what's happens?
Seems to be a internal problem into SFML to initialize this variable correctly.
Besides, into my main machine if I don't declare version shader, no error are generated, but in this laptop I need to declare versiĆ³n to stop complaining GLSL errors.
I tried all GLSL versions, from 110 to 420 and in all versions don't works.
Actually my current versions are declared like this: #version 150 core
This line...:
vec2 uv = gl_TexCoord[0] + make_uv_from_rotation();
Throws the next error:
Failed to compile fragment shader:
ERROR: 0:39: 'gl_TexCoord' : undeclared identifier
ERROR: 0:39: 'gl_TexCoord' : left of '[' is not of type array, matrix, or vector