.texture switch based on texture name