Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bumpmapping example uses GLSL #version 410 but uses 4.2 binding syntax. #18

Open
Dingobloo opened this issue May 10, 2014 · 1 comment

Comments

@Dingobloo
Copy link

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.

@Dingobloo 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
@genpfault
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants