GLSL tool generalization