I am trying to rotate a mesh with vertex shader. I found this snippet and I am using it to rotate the mesh: And in the vertex shader I do this, where v is the input struct and o is the output: Problem is it is rotating around the world axis and not the mesh pivot. Why is it so if I am doing it before doing the UnityObjectToClipPos? I should be in object space. What am I missing?