C++ to GLSL run-time translator