add support for GL_TEXTURE matrix