texture switch basic implementation