AlexRNL
05-04-2011, 06:19 AM
Hi guys!
I'm working with OpenGL for some time now and I've run into a strange issue...
I've made a java program that uses OpenGL (with JOGL binding) and shaders with GLSL. It is working fine on my computer but, when I tried it on another one, the shaders didn't work at all :( ! Although I am checking if the extensions listed here (http://www.opengl.org/wiki/OpenGL_Shading_Language) are available on the computer.
After a bit of investigation, the 4 extensions were actually in the string returned by GL_EXTENSIONS and there was nothing in the compilation/linking log of the shaders, everything seemed to be fine... but still nothing could be seen :mad: !
It was running on a quite recent computer (W7 x64) so I didn't think to it earlier... but it worked when I updated the driver of the video card.
So my problem is that the extensions didn't seem to be properly "detected" when I retrieve GL_EXTENSIONS... I would be glad to known a way to be sure that the shaders can be used on the current machine. Do you guys have any idea?
I'm working with OpenGL for some time now and I've run into a strange issue...
I've made a java program that uses OpenGL (with JOGL binding) and shaders with GLSL. It is working fine on my computer but, when I tried it on another one, the shaders didn't work at all :( ! Although I am checking if the extensions listed here (http://www.opengl.org/wiki/OpenGL_Shading_Language) are available on the computer.
After a bit of investigation, the 4 extensions were actually in the string returned by GL_EXTENSIONS and there was nothing in the compilation/linking log of the shaders, everything seemed to be fine... but still nothing could be seen :mad: !
It was running on a quite recent computer (W7 x64) so I didn't think to it earlier... but it worked when I updated the driver of the video card.
So my problem is that the extensions didn't seem to be properly "detected" when I retrieve GL_EXTENSIONS... I would be glad to known a way to be sure that the shaders can be used on the current machine. Do you guys have any idea?