Simplify qtransform function in GLSL.