Rewriting xflowGLSL codes. (WIP)