Shader example grey instead of colored quad GLSL

Hey there,

I just worked me into shaders and I am having some problems right with the first example I try.
I am getting a grey quad instead of a colored quad with the example which can be found here: http://openframeworks.cc/tutorials/graphics/shaders.html

Here is my source. What am i doing wrong?
shader gets loaded and shows “no errors” in the terminal…
any ideas?

main.cpp:

int main( ){

    ofSetLogLevel(OF_LOG_VERBOSE);

    ofSetupOpenGL(1024,768, OF_WINDOW);            // <-------- setup the GL context

    // this kicks off the running of my app
    // can be OF_WINDOW or OF_FULLSCREEN
    // pass in width and height too:
    ofRunApp( new ofApp());

}

ofApp.cpp:

void ofApp::setup(){
    shader.load("shaders/noise.vert", "shaders/noise.frag");
}

void ofApp::draw(){
    ofSetColor(255);
    shader.begin();
    ofRect(0, 0, ofGetWidth(), ofGetHeight());
    shader.end();
}

the shaders in that tutorial use opengl3 so you need to activate the programmable renderer. in main, before ofSetupOpenGL:

ofSetCurrentRenderer(ofGLProgrammableRenderer::TYPE);

Hey Arturo,

thanks for your answer. I forgot about the special driver things. So it seems my Intel HD2000 onboard graphiccard dont support opengl3 fully.

I tested it on my Linux Laptop which has latest nvidia driver and should support opengl 3… It is also not working.
What do I need to get those examples run? And why is it not throwing an error when the shader cant be executed?

Is there a better way to see what shaders can be used? the glInfo example says that gl 3.3 is supported and that means that the shaders i want to use are supported.