You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
Dingobloo
changed the title
bumpmapping example uses GSLS #version 410 but uses 4.2 binding syntax.
bumpmapping example uses GLSL #version 410 but uses 4.2 binding syntax.
May 10, 2014
Bumping to 420 kinda leaves macOS in a lurch, doesn't it? Even Mojave doesn't seem to support ARB_shading_language_420pack, at least on this Macmini6,1.
https://github.com/openglsuperbible/sb6code/blob/master/bin/media/shaders/bumpmapping/bumpmapping.fs.glsl
and
https://github.com/openglsuperbible/sb6code/blob/master/bin/media/shaders/bumpmapping/bumpmapping.vs.glsl
Both have #version 410 core at the top but use binding syntax that according to https://www.opengl.org/wiki/Sampler_(GLSL)#Version_4.20_binding is only for OpenGL 4.2 or later causing it to fail to compile on nvidia and not render.
Simple fix, bump the version to 420 core.
The text was updated successfully, but these errors were encountered: