Rotate World Aligned Texture Based Off Vertex Color?

It would be a lot more efficient to just make sure those UV sets are correctly rotated in your UV map - then the shader doesn’t need to apply some expensive GPU instructions every pixel to rotate them.