optimized 3-point filter GLSL code

reduced size of GLSL shaders