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

Alpha does not work with programmable renderer #15

Open
jkozniewski opened this issue Aug 5, 2017 · 0 comments
Open

Alpha does not work with programmable renderer #15

jkozniewski opened this issue Aug 5, 2017 · 0 comments

Comments

@jkozniewski
Copy link

jkozniewski commented Aug 5, 2017

Hi!

Seems that the alpha channel is ignored and there some other playback issues
when using in programmable renderer mode with OpenGL 4.1 ( oF 0.9.3 ).

There are following shader errors in the console:

 [ error ] ofShader: setupShaderFromSource(): GL_VERTEX_SHADER shader failed to compile
[ error ] ofShader: GL_VERTEX_SHADER shader reports:
ERROR: 0:1: '' :  #version required and missing.

[ error ] ofShader: GL_VERTEX_SHADER, offending line 1 :
	    1	void main(void){gl_Position = ftransform();gl_TexCoord[0] = gl_MultiTexCoord0;}
	    2	

Is there any quick fix for that ?
Providing proper shaders for programmable pipeline should make it work,
I'll try to rewrite them, but I'm not very proficient with glsl, so maybe you could help :) ?

Cheers!

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