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

glsl version used #51

Open
Cdriko opened this issue Nov 14, 2019 · 0 comments
Open

glsl version used #51

Cdriko opened this issue Nov 14, 2019 · 0 comments

Comments

@Cdriko
Copy link

Cdriko commented Nov 14, 2019

hello
I'm under ubuntu 18.04
glxinfo | grep "OpenGL version" OpenGL version string: 4.6.0 NVIDIA 390.116

but in the editor, if I use the function "inverse" for a matrix, I got an error.
mat4 rotBackwards=inverse(rotForward);
'inverse' : no matching overloaded function found

but the inverse function should works https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/inverse.xhtml

as explained here I try to add
#version 150 at the begining of the code , but I got error if I put a number bellow 100.

How can I know wich version of glsl the editor uses ?
thanks

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

1 participant