textured export: remove the temporary material after use