You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
multiTextureShaderExample : frag shader not linked. #100
You need to run with GLES2 otherwise with GLES1 you got segfault. Comment out also ofSetWindowShape() and of SetWindowTitle() because are not implemented yet . Also this is a issue. i noticed,also in other examples, that with GLES2 the bitmap stings are a bit weird.
the output in the console is:
[notice] ofGstUtils: selected device: Trust Webcam
[notice] ofGstUtils: selected format: 320x240 video/x-raw-rgb framerate: 30/1
[notice] gstreamer pipeline: v4l2src name=video_source device=/dev/video0 ! video/x-raw-rgb,width=320,height=240 ! ffmpegcolorspace ! appsink name=ofappsink caps="video/x-raw-rgb, depth=24, bpp=24, endianness=4321, red_mask=0xff0000, green_mask=0x00ff00, blue_mask=0x0000ff, alpha_mask=0x000000ff, width=320, height=240"
libdce-x11.c:64: dce_auth_x11 info: attempting to open X11 connection
[notice] bind framebuffer
[notice] allocate texture
[notice] framebuffertexture2d
[notice] bind framebuffer
[notice] allocate texture
[notice] framebuffertexture2d
[error] OpenGL generated error 1281 trying to get the compile status for GL_FRAGMENT_SHADER shader. Does your video card support this?
[error] Trying to link GLSL program, but no shaders created yet
[ofAppEGLWindow::runAppViaInfiniteLoop:notice] ofNotifySetup() complete.
no updates but i will try to solve , also i would re-check most of the examples . could be other issues somewhere in the examples that i don't remember now.
Activity
danzeeeman commentedon Apr 6, 2013
@kalwalt any updates?
kalwalt commentedon Apr 6, 2013
no updates but i will try to solve , also i would re-check most of the examples . could be other issues somewhere in the examples that i don't remember now.
jvcleave commentedon Apr 7, 2013
I guess the main issue is how to have ofShader fail more elegantly as shaders will only work with GLES2.
Anyone know how Android/iOS is currently handling this?
kalwalt commentedon May 2, 2013
very wierd: i can't get at least the same result above. see my log here : https://gist.github.com/kalwalt/5505535
edit: no my fault... forgot to add the ofGLES2Renderer.... don't read the above comment.
I will try to make some mod now to the shader.