jdmclark/jkgfxmod

Failed to compile an essential shader

Closed this issue · 3 comments

Hi, I am getting the following error:

JkGmMod failed to compile an essential shader. This may have happened because your graphics device does not support OpenGL 3.3, because the shader file has been incorrectly modified or because of a bug in JkGmMod.

Details: Failed to compile jkgm/shaders/menu.vert
ERROR 1.2 #extension : Gl_ARB_exploit_uniform_location' is not supported
ERROR 1.11 "vertex position : undeclared identifier
ERROR 1.12 'vp_texchoords' : undeclared identifier
ERROR 1.12 'vertex_texchoords : undeclared identifier

My OpenGL is 4

How can I fix this?

Hi @Orion98

I need some more information to diagnose this problem. Could you please tell me your GPU vendor, model, and driver version?

Thanks

Having the exact problem as Orion. I attached a picture of specs in case that helps to resolve this issue. The error says I require opengl 3.3 but I have 4. Strange,
Annotation 2020-06-24 133926

tgies commented

I have also run into this problem on some hardware or other but unfortunately lost the context -- however, I mainly came to point out that GL_ARB_explicit_uniform_location is indeed not the most widely supported extension particularly where Intel stuff is concerned. I can't find a specific reference for this, but I am fairly certain that the only Intel GPUs that support this extension are those supporting OpenGL 4.3 or better.