Skip to content

multiTextureShaderExample : frag shader not linked. #100

@kalwalt

Description

@kalwalt

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.

attched also an image below:
Istantanea - 04012013 - 14:36:19

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions