handle texture rotation in shader