Modified to use the appropriate TextureSet in external texture