Rotate mesh through material using World Position Offset

Supply rotation matrix and transform world position using it.