implementing multi texture sprite