Refactoring + OpenGL barrel distortion frag shader