making texturemanager and integration