Simple GLSL Shader Example


Add them to your /data directory before you build your project. You shouldn’t have to manually add them after your build.

Then, follow moka’s suggestion and use ofToDataPath(“name of your shader”).


Cool, thanks.
I didn’t notice the answer was already given. Actually I even didn’t notice that there’s the second page on this topic, sorry :oops:


Hi Moka,

I am facing following error while compiling the example

‘GLEE_ARB_shader_objects’ : undeclared identifier


good things to talk about :slight_smile: