Added two framebuffer paths, EXT for GL 2.X, core for GL 3 and up.
texelfetch code for reduction