ofxHAPAVPlayer
ofxHAPAVPlayer copied to clipboard
Alpha does not work with programmable renderer
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!