Simple GLSL Shader Example


#21

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”).


#22

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:


#23

Hi Moka,

I am facing following error while compiling the example

‘GLEE_ARB_shader_objects’ : undeclared identifier


#24

good things to talk about :slight_smile: