I tried on a Intel Imac, same problems with same shaders.
Now, I tried on a windows 10 machine... same problems again, only same 3 shaders works (like Bokeh)..
For bleach, the error is different from apple:
ofShader: setupShaderFromSource(): GL_FRAGMENT_SHADER shader failed to compile
: ofShader: GL_FRAGMENT_SHADER shader reports:
Fragment shader failed to compile with the following errors:
ERROR: error(#60) Unknown char: ""
ERROR: error(#273) 1 compilation errors. No code generated
: //fragment program
uniform sampler2D Tex0;
uniform float GaussianBlur_Radius;
const float total = (1. + 8. + 28. + 56.) * 2. + 70.;
void main(void)
{
vec2 st = gl_TexCoord[0].st;
vec4 color = vec4(0.0,0.0,0.0,0.0);
color += (1. / total) * texture2D(Tex0, st - GaussianBlur_Radius * vec2(4. / 4., 0.));
color += (8. / total) * texture2D(Tex0, st - GaussianBlur_Radius * vec2(3. / 4., 0.));
color += (28. / total) * texture2D(Tex0, st - GaussianBlur_Radius * vec2(2. / 4., 0.));
color += (56. / total) * texture2D(Tex0, st - GaussianBlur_Radius * vec2(1. / 4., 0.));
color += (70. / total) * texture2D(Tex0, st);
color += (1. / total) * texture2D(Tex0, st + GaussianBlur_Radius * vec2(4. / 4., 0.));
color += (8. / total) * texture2D(Tex0, st + GaussianBlur_Radius * vec2(3. / 4., 0.));
color += (28. / total) * texture2D(Tex0, st + GaussianBlur_Radius * vec2(2. / 4., 0.));
color += (56. / total) * texture2D(Tex0, st + GaussianBlur_Radius * vec2(1. / 4.,ofShader: checkProgramLinkStatus(): program failed to link
ofShader: ofShader: program reports:
Fragment shader(s) were not successfully compiled before glLinkProgram() was called. Link failed.