Whats the problem with Filter (Radial Blur) UPBGE 0.2.4?

Toggle system console view this:

GPU Shader compile error

ERROR: 0:12: ‘sample’ syntax error sintax error

Script Filter this:

uniform sampler2D bgl_RenderedTexture;

uniform sampler2D bgl_DepthTexture;

const int NUM_SAMPLES = 30;

uniform float radial_density;

void main()

{

vec2 deltaTexCoord = gl_TexCoord[0].st - vec2(0.5,0.5);

vec2 texCoo = gl_TexCoord[0].st;

deltaTexCoord *= 1.0 / float(NUM_SAMPLES) * radial_density;

vec4 sample = vec4(1.0);

float decay = 1.0;

for(int i=0; i < NUM_SAMPLES ; i++)

{

texCoo -= deltaTexCoord;

sample += texture2D(bgl_RenderedTexture, texCoo);

}

gl_FragColor = sample/float(NUM_SAMPLES);

gl_FragColor.a = 1.0;

}