Quantcast
Viewing all articles
Browse latest Browse all 40524

ofGLProgrammableRenderer::TYPE error

Hello @ekisu, the tutorial needs to be updated. Try to have a look in the examples folder, examples/gl/shadersExample at the main.cpp file to see how to set up your application.
This should allows you to get starting using shaders:

int main( ){
    ofGLWindowSettings settings;
    settings.setGLVersion(3, 2);  // Programmable pipeline
    settings.width = 1024;
    settings.height = 768;
    ofCreateWindow(settings);
    ofRunApp(new ofApp());
}

Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>