-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
oF 0.12.0 shaders on Raspberry Pi 4 #7653
Comments
Hi @macramole, openFrameworks/libs/openFrameworks/gl/ofShader.cpp Lines 661 to 676 in 7cf3cfe
|
Ahh, a small bug! Can you change this line in main.cpp: to
|
Oh I was losing my mind trying to figure out why it wasn't executing that chunk of code. I'm having other issues though :
The example is using :
|
Update, the example works on 0.11.2 (by changing |
Thanks @macramole - does it also work in 0.12.0 with that change? |
Nope, sorry. In 0.12.0 the error is:
I don't know much about shaders, but those lines look pretty standard to me. I tried some things like removing keywords like "in" "out" but I couldn't get it to work. I also tried modifying Constants.h and was able to compile with glew (instead of using GL ES). Some things work but others crashed. |
Hmmm. Can you post the output from the following? |
Thanks @NickHardeman , yes, tomorrow I will have access to the Raspi again and will post the output |
thanks @macramole - I think this might be connected to this issue too #7654 |
Hi all !
I'm trying to compile the 04_simpleTexturing example on a Raspberry Pi 4 on latest Bullseye
I'm using newer build and GLFW window
I'm having this error:
ofShader: sorry, it looks like you can't run 'ARB_shader_objects'
It seems that oF is using opengles. is this correct ?
This happens with using custom vertex and fragment shaders
Although running
$ glxinfo
says it is compatible with ARB_shader_objectsHere is the full output:
thanks in advance !
The text was updated successfully, but these errors were encountered: